Enis Soztutar commented on HBASE-7612:

bq. I think the original implementation will also miss some updates so it is 
not very critical? And seems it is only used in testcase.
Ok that will work. +1 for commit. 

> [JDK8] Replace use of high-scale-lib counters with intrinsic facilities
> -----------------------------------------------------------------------
>                 Key: HBASE-7612
>                 URL: https://issues.apache.org/jira/browse/HBASE-7612
>             Project: HBase
>          Issue Type: Sub-task
>          Components: metrics
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Duo Zhang
>            Priority: Trivial
>             Fix For: 2.0.0
>         Attachments: HBASE-7612-v1.patch, HBASE-7612.patch
> JEP155 introduces a few new classes (DoubleAccumulator, DoubleAdder, 
> LongAccumulator, LongAdder) that "internally employ contention-reduction 
> techniques that provide huge throughput improvements as compared to Atomic 
> variables". There are applications of these where we are currently using 
> Cliff Click's high-scale-lib and for metrics.
> See http://openjdk.java.net/jeps/155

This message was sent by Atlassian JIRA

Reply via email to