Skip to content

Commit fb07bbe

Browse files
author
Doug Simon
committed
8324717: Remove HotSpotJVMCICompilerFactory
Reviewed-by: thartmann, never
1 parent d1e6763 commit fb07bbe

File tree

2 files changed

+0
-100
lines changed

2 files changed

+0
-100
lines changed

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCICompilerFactory.java

Lines changed: 0 additions & 86 deletions
This file was deleted.

src/jdk.internal.vm.ci/share/classes/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
package jdk.vm.ci.hotspot;
2424

2525
import static jdk.vm.ci.common.InitTimer.timer;
26-
import static jdk.vm.ci.hotspot.HotSpotJVMCICompilerFactory.CompilationLevelAdjustment.None;
2726
import static jdk.vm.ci.services.Services.IS_BUILDING_NATIVE_IMAGE;
2827
import static jdk.vm.ci.services.Services.IS_IN_NATIVE_IMAGE;
2928

@@ -468,7 +467,6 @@ public static JavaKind getHostWordKind() {
468467
private final JVMCIBackend hostBackend;
469468

470469
private final JVMCICompilerFactory compilerFactory;
471-
private final HotSpotJVMCICompilerFactory hsCompilerFactory;
472470
private volatile JVMCICompiler compiler;
473471
protected final HotSpotJVMCIReflection reflection;
474472

@@ -572,18 +570,6 @@ private HotSpotJVMCIRuntime() {
572570
}
573571

574572
compilerFactory = HotSpotJVMCICompilerConfig.getCompilerFactory(this);
575-
if (compilerFactory instanceof HotSpotJVMCICompilerFactory) {
576-
hsCompilerFactory = (HotSpotJVMCICompilerFactory) compilerFactory;
577-
if (hsCompilerFactory.getCompilationLevelAdjustment() != None) {
578-
String name = HotSpotJVMCICompilerFactory.class.getName();
579-
String msg = String.format("%s.getCompilationLevelAdjustment() is no longer supported. " +
580-
"Use %s.excludeFromJVMCICompilation() instead.", name, name);
581-
throw new UnsupportedOperationException(msg);
582-
}
583-
} else {
584-
hsCompilerFactory = null;
585-
}
586-
587573
if (config.getFlag("JVMCIPrintProperties", Boolean.class)) {
588574
if (vmLogStream == null) {
589575
vmLogStream = new PrintStream(getLogStream());

0 commit comments

Comments
 (0)