File tree 2 files changed +4
-3
lines changed
test/hotspot/jtreg/compiler
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 32
32
* @build jdk.test.whitebox.WhiteBox
33
33
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
34
34
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
35
- * -XX:+UseSerialGC - Xbatch -XX:-UseOnStackReplacement -XX:-TieredCompilation
35
+ * -Xbatch -XX:-UseOnStackReplacement -XX:-TieredCompilation
36
36
* -XX:CompileCommand=compileonly,compiler.exceptions.OptimizeImplicitExceptions::throwImplicitException
37
37
* compiler.exceptions.OptimizeImplicitExceptions
38
38
*/
Original file line number Diff line number Diff line change 32
32
* @build jdk.test.whitebox.WhiteBox
33
33
* @run driver jdk.test.lib.helpers.ClassFileInstaller jdk.test.whitebox.WhiteBox
34
34
* @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI
35
- * -XX:+UseSerialGC - Xbatch -XX:-UseOnStackReplacement -XX:-TieredCompilation
35
+ * -Xbatch -XX:-UseOnStackReplacement -XX:-TieredCompilation
36
36
* -XX:CompileCommand=compileonly,compiler.uncommontrap.Decompile::uncommonTrap
37
37
* -XX:CompileCommand=inline,compiler.uncommontrap.Decompile*::foo
38
38
* compiler.uncommontrap.Decompile
@@ -54,7 +54,8 @@ public class Decompile {
54
54
private static final int Tier0InvokeNotifyFreq = (int )Math .pow (2 , WB .getIntxVMFlag ("Tier0InvokeNotifyFreqLog" ));
55
55
// VM builds without JVMCI like x86_32 call the bimorphic inlining trap just 'bimorphic'
56
56
// while all the other builds with JVMCI call it 'bimorphic_or_optimized_type_check'.
57
- private static final boolean isJVMCISupported = WhiteBox .getWhiteBox ().isJVMCISupportedByGC ();
57
+ // Only builds with JVMCI have the "EnableJVMCI" flag.
58
+ private static final boolean isJVMCISupported = (WB .getBooleanVMFlag ("EnableJVMCI" ) != null );
58
59
private static final String bimorphicTrapName = isJVMCISupported ? "bimorphic_or_optimized_type_check" : "bimorphic" ;
59
60
60
61
static class Base {
You can’t perform that action at this time.
0 commit comments