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

Vladimir Ivanov vladimir.x.ivanov at oracle.com
Fri May 6 12:36:04 UTC 2016


Looks good.

Best regards,
Vladimir Ivanov

On 5/5/16 10:14 PM, Aleksey Shipilev 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).
>
> Thanks,
> -Aleksey
>


More information about the hotspot-compiler-dev mailing list