[ 
https://issues.apache.org/jira/browse/HIVE-23839?focusedWorklogId=458059&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-458059
 ]

ASF GitHub Bot logged work on HIVE-23839:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jul/20 13:56
            Start Date: 13/Jul/20 13:56
    Worklog Time Spent: 10m 
      Work Description: belugabehr commented on pull request #1246:
URL: https://github.com/apache/hive/pull/1246#issuecomment-657576657


   > This class is usually preferable to AtomicLong when multiple threads 
update a common sum that is used for purposes such as collecting statistics, 
not for fine-grained synchronization control. Under low update contention, the 
two classes have similar characteristics.
   
   Are these use cases, that have been modified, meet this criteria?
   
   
https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/atomic/LongAdder.html


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 458059)
    Time Spent: 40m  (was: 0.5h)

> Use LongAdder instead of AtomicLong
> -----------------------------------
>
>                 Key: HIVE-23839
>                 URL: https://issues.apache.org/jira/browse/HIVE-23839
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Dai Wenqing
>            Priority: Minor
>              Labels: pull-request-available
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> LongAdder performs better than AtomicLong in high concurrent environment.



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

Reply via email to