vldpyatkov commented on PR #4808:
URL: https://github.com/apache/ignite-3/pull/4808#issuecomment-2507252314

   > Doesn't such an update use CAS under the hood? According to the code of 
`AtomicLongFieldUpdater`, it does:
   
   In my opinion, incrementAndGet has better performance because it does not 
require a hold in an external loop. Instead of it, we just increment the 
internal value in the atomic variable.
   We already compare this in micro-benchmark.


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

To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org

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

Reply via email to