< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java

Print this page

        

*** 24,34 **** import java.lang.reflect.Module; import jdk.vm.ci.code.CompilationRequest; import jdk.vm.ci.code.CompilationRequestResult; - import jdk.vm.ci.common.JVMCIError; import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.Option; import jdk.vm.ci.runtime.JVMCICompiler; import jdk.vm.ci.runtime.JVMCIRuntime; import jdk.vm.ci.runtime.services.JVMCICompilerFactory; import jdk.vm.ci.services.Services; --- 24,33 ----
*** 36,46 **** final class HotSpotJVMCICompilerConfig { private static class DummyCompilerFactory extends JVMCICompilerFactory implements JVMCICompiler { public CompilationRequestResult compileMethod(CompilationRequest request) { ! throw new JVMCIError("no JVMCI compiler selected"); } @Override public String getCompilerName() { return "<none>"; --- 35,45 ---- final class HotSpotJVMCICompilerConfig { private static class DummyCompilerFactory extends JVMCICompilerFactory implements JVMCICompiler { public CompilationRequestResult compileMethod(CompilationRequest request) { ! throw new InternalError("no JVMCI compiler selected"); } @Override public String getCompilerName() { return "<none>";
*** 74,84 **** f.onSelection(); factory = f; } } if (factory == null) { ! throw new JVMCIError("JVMCI compiler '%s' not found", compilerName); } } else { factory = new DummyCompilerFactory(); } compilerFactory = factory; --- 73,83 ---- f.onSelection(); factory = f; } } if (factory == null) { ! throw new InternalError(String.format("JVMCI compiler '%s' not found", compilerName)); } } else { factory = new DummyCompilerFactory(); } compilerFactory = factory;
< prev index next >