RFR 8006007: j.u.c.atomic classes should use intrinsic getAndXXX provided by 7023898
chris.hegarty at oracle.com
Thu Jan 10 17:02:15 UTC 2013
On 01/10/2013 04:48 PM, Doug Lea wrote:
> On 01/10/13 11:40, Chris Hegarty wrote:
>> Doug, Aleksey,
>> I updated the appropriate methods in the Atomic classes to use the
>> defined by 7023898 , Unsafe getAndAddInt, getAndSetInt, getAndAddLong,
>> getAndSetLong, getAndSetObject.
>> This patch also includes some trivial cleanup and consistent style CAS
>> loop from
>> Dougs CVS, but excludes the new lambda versions of
>> get/updateAndUpdate/Get and
>> get/accumulateAndAccumulate/Get. These new methods are not impacted by
>> intrinsis. I will immediately follow these changes with a request to
>> add these
>> new methods, I just don't want to tie this update to a spec change
> All OK by me. Too bad that you must make two webrevs for this.
That's ok, at least these changes will hit tl later today. I'll prepare
the request for the new methods now.
More information about the core-libs-dev