RFC 8175887: C1 value numbering handling of Unsafe.get*Volatile is incorrect?

Aleksey Shipilev shade at redhat.com
Mon Feb 27 14:35:15 UTC 2017


Hi Stuart,

On 02/27/2017 03:32 PM, Stuart Monteith wrote:
> Will throw any pending exceptions at this point.
> Exception in thread "main" java.lang.AssertionError: TEST FAILURES:
> 
> org.openjdk.jcstress.tests.coherence.varHandles.fields.opaque.ShortTest
> [-client, -XX:-TieredCompilation]: Observed forbidden state: -1, 0
> 
> org.openjdk.jcstress.tests.coherence.varHandles.fields.opaque.ShortTest
> [-server, -XX:+UnlockDiagnosticVMOptions, -XX:+StressLCM,
> -XX:+StressGCM]: Observed forbidden state: -1, 0
> 
> org.openjdk.jcstress.tests.coherence.varHandles.fields.opaque.ShortTest
> [-server]: Observed forbidden state: -1, 0
> 
> org.openjdk.jcstress.tests.coherence.varHandles.fields.opaque.ShortTest
> [-server, -XX:-TieredCompilation]: Observed forbidden state: -1, 0
> 
> org.openjdk.jcstress.tests.coherence.varHandles.fields.opaque.ShortTest
> [-client]: Observed forbidden state: -1, 0
> 
> org.openjdk.jcstress.tests.coherence.varHandles.fields.opaque.ShortTest
> [-server, -XX:-TieredCompilation, -XX:+UnlockDiagnosticVMOptions,
> -XX:+StressLCM, -XX:+StressGCM]: Observed forbidden state: -1, 0
> 
> Applying your patch and rerunning this test on the aarch64 machine
> causes these tests to pass. Now doing a full run. It should be finished
> by Tuesday.

So Opaque failures on your machines *are* related to this. Good to know, thanks!

-Aleksey

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


More information about the hotspot-compiler-dev mailing list