Duo Zhang updated HBASE-7612:
      Resolution: Fixed
    Hadoop Flags: Reviewed
    Release Note: org.apache.hadoop.hbase.util.Counter is deprecated now and 
will be removed in 3.0. Use LongAdder instead.
          Status: Resolved  (was: Patch Available)

Pushed to master. Thanks [~enis] for reviewing.

> [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