8001666: Add updateAndGet, getAndUpdate, getAndAccumulate, accumulateAndGet methods to AtomicXXX

Chris Hegarty chris.hegarty at oracle.com
Fri Jan 11 15:42:34 UTC 2013


On 11/01/2013 15:35, Doug Lea wrote:
> 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...)

Nearly there, with the Atomics anyway. Once these changes get in, for 
once jdk8/tl will be ahead of the others (first time ever?)

I'll create and send you a patch based on your CVS, to make it easier 
for you to update to the new intrinsics and these Array changes.

-Chris.

>
> -Doug
>
>
>



More information about the core-libs-dev mailing list