< prev index next >

test/compiler/jvmci/common/JVMCIHelpers.java

Print this page

        

*** 24,45 **** package compiler.jvmci.common; import jdk.vm.ci.code.Architecture; import jdk.vm.ci.code.CompilationRequest; import jdk.vm.ci.code.CompilationRequestResult; ! import jdk.vm.ci.hotspot.HotSpotVMEventListener; import jdk.vm.ci.meta.ResolvedJavaMethod; import jdk.vm.ci.runtime.JVMCICompiler; ! import jdk.vm.ci.runtime.JVMCICompilerFactory; import jdk.vm.ci.runtime.JVMCIRuntime; /* * A stub classes to be able to use jvmci */ public class JVMCIHelpers { ! public static class EmptyVMEventListener implements HotSpotVMEventListener { // just empty, using default interface methods } public static class EmptyHotspotCompiler implements JVMCICompiler { --- 24,45 ---- package compiler.jvmci.common; import jdk.vm.ci.code.Architecture; import jdk.vm.ci.code.CompilationRequest; import jdk.vm.ci.code.CompilationRequestResult; ! import jdk.vm.ci.hotspot.services.HotSpotVMEventListener; import jdk.vm.ci.meta.ResolvedJavaMethod; import jdk.vm.ci.runtime.JVMCICompiler; ! import jdk.vm.ci.runtime.services.JVMCICompilerFactory; import jdk.vm.ci.runtime.JVMCIRuntime; /* * A stub classes to be able to use jvmci */ public class JVMCIHelpers { ! public static class EmptyVMEventListener extends HotSpotVMEventListener { // just empty, using default interface methods } public static class EmptyHotspotCompiler implements JVMCICompiler {
*** 48,58 **** // do nothing return CompilationRequestResult.failure("no compiler configured", true); } } ! public static class EmptyCompilerFactory implements JVMCICompilerFactory { @Override public String getCompilerName() { return "EmptyCompiler"; } --- 48,58 ---- // do nothing return CompilationRequestResult.failure("no compiler configured", true); } } ! public static class EmptyCompilerFactory extends JVMCICompilerFactory { @Override public String getCompilerName() { return "EmptyCompiler"; }
< prev index next >