8209689: Compiler.isGraalEnabled should not check jvmci.Compiler property

Reviewed-by: kvn
This commit is contained in:
Christian Thalinger 2018-08-21 14:14:28 +02:00
parent 9c4f2b7294
commit d9bb30837a

@ -55,11 +55,6 @@ public class Compiler {
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");