RFR (M) 8152753: C1 intrinsics for CompareAndExchange (x86)

Andrew Haley aph at redhat.com
Thu Apr 7 14:29:31 UTC 2016


On 04/07/2016 08:30 AM, Aleksey Shipilev wrote:
> On 04/01/2016 05:37 PM, Aleksey Shipilev wrote:
>> On 03/25/2016 07:29 PM, Aleksey Shipilev wrote:
>>> I would like to solicit comments for C1 support for new
>>> Unsafe.compareAndExchange intrinsics (we have support for them in C2).
>>> The rest of new Unsafe methods that are not intrinsified by C1 are
>>> handled by Java fallbacks in Unsafe.java. compareAndExchange cannot be
>>> emulated with existing APIs.
>>>
>>> Bug:
>>>   https://bugs.openjdk.java.net/browse/JDK-8152753
>>>
>>> Webrev:
>>>   http://cr.openjdk.java.net/~shade/8152753/webrev.00/
>>
>> Update:
>>   http://cr.openjdk.java.net/~shade/8152753/webrev.01/
>>
>> Moved flags sensing to vmIntrinsics::is_disabled_by_flags, and did some
>> other cleanups.
>>
>> Testing: compiler/unsafe regression tests; targeted microbenchmarks; RBT
>> hs-comp testset (some unrelated timeouts on SPARC).
> 
> Anyone?

Reviewed, OK.

Andrew.




More information about the hotspot-compiler-dev mailing list