RFR (S) 8157171: Hook up Unsafe.weakCompareAndSetVolatile to VarHandles

Claes Redestad claes.redestad at oracle.com
Tue May 17 19:16:46 UTC 2016


+1

On 2016-05-17 18:46, Aleksey Shipilev wrote:
> Hi,
>
> Now that jdk9/hs merged to jdk9/dev, we can finally make a move to
> connect new Unsafe.weakCompareAndSetVolatile intrinsics with VarHandles:
>    https://bugs.openjdk.java.net/browse/JDK-8157171
>
> Webrev:
>    http://cr.openjdk.java.net/~shade/8157171/webrev.01/
>
> The core changes are in the template files, actual .java files were
> generated from templates. I also fixed up the few missing VarHandles
> tests for weakCASVolatile.
>
> Testing: local Linux x86_64 build; java/lang/invoke/VarHandles jtregs.
>
> Thanks,
> -Aleksey
>




More information about the core-libs-dev mailing list