changeset 51474:0cb2d4391e16

8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property Reviewed-by: kvn
author twisti
date Tue, 21 Aug 2018 14:14:28 +0200
parents 871581ff5ce5
children 492b366f8e57
files test/lib/sun/hotspot/code/Compiler.java
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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");