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

Aleksey Shipilev aleksey.shipilev at oracle.com
Fri Apr 1 14:37:54 UTC 2016

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/


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).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160401/91d6764c/signature.asc>

More information about the hotspot-compiler-dev mailing list