RFR (XS): CR 8004330: Add missing Unsafe entry points for addAndGet() family
aleksey.shipilev at oracle.com
Wed Dec 5 03:34:28 PST 2012
Friendly reminder to check this didn't fall into the trenches.
On 12/04/2012 02:42 AM, Aleksey Shipilev wrote:
> (I should have CC'ed Doug on this, doing now).
> On 12/04/2012 02:36 AM, Aleksey Shipilev wrote:
>> (again, submitting on behalf of Doug Lea)
>> This simple change is missing from recently committed CR 7023898. While
>> the VM support is there in Hotspot, no methods are exposed in Unsafe to
>> actually make use of those intrinsics. This is the webrev fixing that:
>> - Built and tested in Linux x86_64
>> - Doug had provided the AtomicIntegerV8  version making use of this
>> new code, extensively tested on his platforms
>> - java-concurrency-torture  atomicity tests  are passed for
>> AtomicIntegerV8 on my and Doug's platforms
>> - no other testing is expected for this trivial change.
>> I would need a sponsor to push this change.
>>  https://github.com/shipilev/java-concurrency-torture/
More information about the hotspot-compiler-dev