You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "tomscut (Jira)" <ji...@apache.org> on 2021/04/14 14:28:00 UTC

[jira] [Created] (HDFS-15975) Use LongAdder instead of AtomicLong

tomscut created HDFS-15975:
------------------------------

             Summary: Use LongAdder instead of AtomicLong
                 Key: HDFS-15975
                 URL: https://issues.apache.org/jira/browse/HDFS-15975
             Project: Hadoop HDFS
          Issue Type: Wish
            Reporter: tomscut
            Assignee: tomscut


When counting some indicators, we can use LongAdder instead of AtomicLong to improve performance. The long value is not an atomic snapshot in LongAdder, but I think we can tolerate that.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org