8001666: Add updateAndGet, getAndUpdate, getAndAccumulate, accumulateAndGet methods to AtomicXXX (original) (raw)

Doug Lea dl at cs.oswego.edu
Fri Jan 11 15:35:55 UTC 2013


On 01/11/13 10:25, Chris Hegarty wrote:

This proposal is to add lambda-compatible atomics and accumulators to the ActomicXXX classes.

Webrev: http://cr.openjdk.java.net/~chegar/8001666/ver.00/webrev/ SpecDiff: Doug, You have not added the equivalent atomics and accumulators the Array classes. Was this intentional? I no reason why this shouldn't be done, so went ahead and did it.

I vaguely recall doing these but they must not have gotten committed :-) Thanks for make sure they are all complete. (Life will be easier when lambda, hotspot, and tl start converging...)

-Doug



More information about the core-libs-dev mailing list