You are viewing a plain text version of this content. The canonical link for it is here.
Posted to gitbox@hive.apache.org by GitBox <gi...@apache.org> on 2020/07/13 14:41:33 UTC

[GitHub] [hive] dddddai commented on pull request #1246: HIVE-23839: Use LongAdder instead of AtomicLong

dddddai commented on pull request #1246:
URL: https://github.com/apache/hive/pull/1246#issuecomment-657601071


   @belugabehr Thank you for pointing that out.
    If we need to use methods like `compareAndSet(a,b)` and `incrementAndGet()`, then AtomicLong would be preferable.
   These cases just update a sum for collecting statistics.


----------------------------------------------------------------
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: gitbox-unsubscribe@hive.apache.org
For additional commands, e-mail: gitbox-help@hive.apache.org