RFR: 8263897: compiler/c2/aarch64/TestVolatilesSerial.java failed with "java.lang.RuntimeException: Wrong method"
Vladimir Kozlov
kvn at openjdk.java.net
Mon Mar 22 16:18:40 UTC 2021
On Mon, 22 Mar 2021 08:20:06 GMT, Roland Westrelin <roland 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.
Thank you, Roland
-------------
PR: https://git.openjdk.java.net/jdk/pull/3103
More information about the hotspot-compiler-dev
mailing list