comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java @ 22770:1fbfcc0334d3

JVMCI PrintCompilation support should reuse CompileBroker logic
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 14 Jan 2016 11:36:05 -0800
parents d88299d598d6
children 9273bb6ba33e
comparison
equal deleted inserted replaced
22769:d57508b1bcb5 22770:1fbfcc0334d3
35 import java.util.Map; 35 import java.util.Map;
36 import java.util.Objects; 36 import java.util.Objects;
37 import java.util.TreeMap; 37 import java.util.TreeMap;
38 38
39 import jdk.vm.ci.code.Architecture; 39 import jdk.vm.ci.code.Architecture;
40 import jdk.vm.ci.code.CompilationRequestFailure; 40 import jdk.vm.ci.code.CompilationRequestResult;
41 import jdk.vm.ci.code.CompilationResult; 41 import jdk.vm.ci.code.CompilationResult;
42 import jdk.vm.ci.code.InstalledCode; 42 import jdk.vm.ci.code.InstalledCode;
43 import jdk.vm.ci.common.JVMCIError; 43 import jdk.vm.ci.common.JVMCIError;
44 import jdk.vm.ci.inittimer.InitTimer; 44 import jdk.vm.ci.inittimer.InitTimer;
45 import jdk.vm.ci.meta.JVMCIMetaAccessContext; 45 import jdk.vm.ci.meta.JVMCIMetaAccessContext;
240 240
241 /** 241 /**
242 * Called from the VM. 242 * Called from the VM.
243 */ 243 */
244 @SuppressWarnings({"unused"}) 244 @SuppressWarnings({"unused"})
245 private CompilationRequestFailure compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, long jvmciEnv, int id) { 245 private CompilationRequestResult compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, long jvmciEnv, int id) {
246 return getCompiler().compileMethod(new HotSpotCompilationRequest(method, entryBCI, jvmciEnv, id)); 246 return getCompiler().compileMethod(new HotSpotCompilationRequest(method, entryBCI, jvmciEnv, id));
247 } 247 }
248 248
249 /** 249 /**
250 * Shuts down the runtime. 250 * Shuts down the runtime.