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

Paul Sandoz paul.sandoz at oracle.com
Thu May 5 20:32:08 UTC 2016


> On 5 May 2016, at 12:14, Aleksey Shipilev <aleksey.shipilev at oracle.com> wrote:
> 
> 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).
> 

+1

Paul.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/attachments/20160505/94d22a85/signature.asc>


More information about the hotspot-compiler-dev mailing list