[
https://issues.apache.org/jira/browse/HDFS-15975?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated HDFS-15975:
------------------------------
Component/s: metrics
Hadoop Flags: Reviewed
Target Version/s: 3.3.1, 3.4.0
Affects Version/s: 3.3.1
3.4.0
> Use LongAdder instead of AtomicLong
> -----------------------------------
>
> Key: HDFS-15975
> URL: https://issues.apache.org/jira/browse/HDFS-15975
> Project: Hadoop HDFS
> Issue Type: Wish
> Components: metrics
> Affects Versions: 3.3.1, 3.4.0
> Reporter: Tao Li
> Assignee: Tao Li
> Priority: Major
> Labels: pull-request-available
> Fix For: 3.3.1, 3.4.0
>
> Time Spent: 6h 10m
> Remaining Estimate: 0h
>
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]