Loading... (original) (raw)
Type:
Bug
Resolution: Fixed
Priority:
P3
Fix Version/s: 10
Affects Version/s: None
Component/s: core-libs
Labels:
NoneSubcomponent:
java.util.concurrentResolved In Build:
b36
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