8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property
authortwisti
Tue, 21 Aug 2018 14:14:28 +0200
changeset 51474 0cb2d4391e16
parent 51473 871581ff5ce5
child 51475 492b366f8e57
8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property Reviewed-by: kvn
test/lib/sun/hotspot/code/Compiler.java
--- a/test/lib/sun/hotspot/code/Compiler.java	Tue Aug 21 08:38:02 2018 -0700
+++ b/test/lib/sun/hotspot/code/Compiler.java	Tue Aug 21 14:14:28 2018 +0200
@@ -55,11 +55,6 @@
         if (useJvmciComp == null || !useJvmciComp) {
             return false;
         }
-        // This check might be redundant but let's keep it for now.
-        String jvmciCompiler = System.getProperty("jvmci.Compiler");
-        if (jvmciCompiler == null || !jvmciCompiler.equals("graal")) {
-            return false;
-        }
 
         Boolean tieredCompilation = WB.getBooleanVMFlag("TieredCompilation");
         Long compLevel = WB.getIntxVMFlag("TieredStopAtLevel");