本文整理匯總了Java中jdk.vm.ci.runtime.JVMCIRuntime類的典型用法代碼示例。如果您正苦於以下問題:Java JVMCIRuntime類的具體用法?Java JVMCIRuntime怎麽用?Java JVMCIRuntime使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
JVMCIRuntime類屬於jdk.vm.ci.runtime包,在下文中一共展示了JVMCIRuntime類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createCompiler
import jdk.vm.ci.runtime.JVMCIRuntime; //導入依賴的package包/類
@Override
public HotSpotGraalCompiler createCompiler(JVMCIRuntime runtime) {
HotSpotGraalCompiler compiler = createCompiler(runtime, options, CompilerConfigurationFactory.selectFactory(null, options));
// Only the HotSpotGraalRuntime associated with the compiler created via
// jdk.vm.ci.runtime.JVMCIRuntime.getCompiler() is registered for receiving
// VM events.
locator.onCompilerCreation(compiler);
return compiler;
}
示例2: createCompiler
import jdk.vm.ci.runtime.JVMCIRuntime; //導入依賴的package包/類
@Override
public JVMCICompiler createCompiler(JVMCIRuntime runtime) {
return this;
}
示例3: createCompiler
import jdk.vm.ci.runtime.JVMCIRuntime; //導入依賴的package包/類
@Override
public JVMCICompiler createCompiler(JVMCIRuntime runtime) {
return new EmptyHotspotCompiler();
}
示例4: createCompiler
import jdk.vm.ci.runtime.JVMCIRuntime; //導入依賴的package包/類
public JVMCICompiler createCompiler(JVMCIRuntime runtime) {
return this;
}