-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: None
-
Component/s: core-libs
-
None
Various methods such as LongAdder.sumThenReset can be optimized to do one atomic operation instead of two using VarHandle.getAndSet
http://concurrency.markmail.org/thread/nurbw4vg7vdo5wbh
http://concurrency.markmail.org/thread/nurbw4vg7vdo5wbh