RFR (S) 8155965: Unsafe.weakCompareAndSetVolatile entry points and intrinsics

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu May 5 19:14:30 UTC 2016


Hi,

Please review this addition to Unsafe and C2 intrinsics, that adds
Unsafe.weakCompareAndSetVolatile family of entry points. This provides
the VM support for additional VarHandles access modes (see JDK-8154755).

Bug:
 https://bugs.openjdk.java.net/browse/JDK-8155965

Webrevs:
 http://cr.openjdk.java.net/~shade/8155965/webrev.jdk.00/
 http://cr.openjdk.java.net/~shade/8155965/webrev.hs.00/

The bulk of changes is in tests. The actual change in compiler code is
just a few lines declaring a new weakCAS shape.

Testing: Linux x86_64 tests: hotspot/compiler/unsafe; RBT (hs-tier0-comp).

Thanks,
-Aleksey

-------------- 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/20160505/c58f565c/signature.asc>


More information about the hotspot-compiler-dev mailing list