RFR: 8263897: compiler/c2/aarch64/TestVolatilesSerial.java failed with "java.lang.RuntimeException: Wrong method"

Roland Westrelin roland at openjdk.java.net
Mon Mar 22 08:22:57 UTC 2021


On Sat, 20 Mar 2021 19:00:21 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> The test assumes that testInt() method's compilation information will be first in output. 
> But these tests did not run with -Xbatch or -XX:CICompilerCount=1 flag. They only use `-XX:-TieredCompilation` which does not guarantee which method is compiled first.
> 
> Added `-XX:-BackgroundCompilation` flag to make sure all test methods compiled in expected order.
> 
> Tested tier1-3 and 50x test run.

Looks good to me.

-------------

Marked as reviewed by roland (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3103


More information about the hotspot-compiler-dev mailing list