[aarch64-port-dev ] RFR(XS): 8211320: Aarch64: unsafe.compareAndSetByte() and unsafe.compareAndSetShort() c2 intrinsics broken with negative expected value

Roland Westrelin rwestrel at redhat.com
Thu Oct 11 08:05:28 UTC 2018


> I'm getting many test failures in my debug build because of nag messages
> for things like CMS deprecation and
>
> TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: stderr was not empty
>
> There must be some way to make jtreg ignore the noise, surely. I don't know
> how you managed to run the tests.

Are you trying to run this bug's test (which has nothing to do with
CMS)? Or are you talking about 8209835 "Aarch64: elide barriers on all
volatile operations" (which runs some subtest with CMS)?

Anyway, I updated to current jdk/jdk, rebased, rebuilt and I can run the
tests of both bugs fine with:

jtreg -ignore:quiet -conc:8 -dir:<path to jdk>/test/hotspot/jtreg -compilejdk:<path to jdk>/build/linux-aarch64-normal-server-fastdebug/images/jdk -testjdk:<path to jdk>/build/linux-aarch64-normal-server-fastdebug/images/jdk -va -javaoptions:'-server' compiler/c2/aarch64/

and

jtreg -ignore:quiet -conc:8 -dir:<path to jdk>/test/hotspot/jtreg -compilejdk:<path to jdk>/build/linux-aarch64-normal-server-fastdebug/images/jdk -testjdk:<path to jdk>/build/linux-aarch64-normal-server-fastdebug/images/jdk -va -javaoptions:'-server' compiler/unsafe/CASandCAEwithNegExpected.java

Roland.


More information about the hotspot-compiler-dev mailing list