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

Andrew Haley aph at redhat.com
Thu Apr 7 09:33:23 UTC 2016


On 07/04/16 09:55, Aleksey Shipilev wrote:
> On 04/07/2016 11:51 AM, Andrew Haley wrote:
>> I'm very tempted to review this, but there is a rather odd thing:
>> the bug does not explain the motivation for this change.
> 
> Not following you.
> 
> What motivation do you need apart from "...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"?

As far as I know all of these are handled by native methods.
Is that not correct?  They seem to be.

Andrew.



More information about the hotspot-compiler-dev mailing list