You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Yechao Chen (JIRA)" <ji...@apache.org> on 2017/09/07 10:21:00 UTC
[jira] [Commented] (HBASE-18772) [JDK8] Replace AuomicLog with
LongAdder
[ https://issues.apache.org/jira/browse/HBASE-18772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156780#comment-16156780 ]
Yechao Chen commented on HBASE-18772:
-------------------------------------
I will submit a patch later
> [JDK8] Replace AuomicLog with LongAdder
> ----------------------------------------
>
> Key: HBASE-18772
> URL: https://issues.apache.org/jira/browse/HBASE-18772
> Project: HBase
> Issue Type: Improvement
> Reporter: Yechao Chen
> Assignee: Yechao Chen
> Priority: Trivial
>
> Currently we use many AtomicLong in HBase Region Code ,such as BucketCache calss realCacheSize,heapSize,blockNumber,accessCount and Hegion calss compactionNumBytesCompacted etc .
> In JDK8 LongAdder is faster than AtomicLong ,should use this replace AtomicLong
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)