8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property
Reviewed-by: kvn
--- 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");