hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yechao Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18772) Replace use AuomicLog with LongAdder
Date Thu, 07 Sep 2017 10:18:00 GMT
Yechao Chen created HBASE-18772:
-----------------------------------

             Summary: Replace use 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)

Mime
View raw message