RFR(T)[12]: 8150757 : [TESTBUG] compiler/ciReplay/TestVM.sh and compiler/ciReplay/TestVM_no_comp_level.sh fail when no compilations are happening

Igor Ignatyev igor.ignatyev at oracle.com
Thu Jan 24 01:10:36 UTC 2019

> 7 lines changed: 5 ins; 0 del; 2 mod;

Hi all,

could you please review this tiny fix for compiler/ciReplay/ tests? these tests try to crash JVM by running '-Xcomp -XX:CICrashAt=1 -version', but if they are run w/ AOT'ed java.base, there is nothing else to compile in '-version', so JVM doesn't crash and the tests fail. the fix replaces usage of -version w/ a class w/ empty main method, so crashes will happen w/ or w/o AOT'ed java.base.

webrev: http://cr.openjdk.java.net/~iignatyev//8150757/webrev.00/index.html
JBS: https://bugs.openjdk.java.net/browse/JDK-8150757
testing: compiler/ciReplay/ tests w/ and w/o AOT'ed java.base

-- Igor

More information about the hotspot-compiler-dev mailing list