Mercurial > hg > graal-jvmci-8
comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCIRuntime.java @ 22767:d88299d598d6
Add support for passing back bailout messages
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Tue, 12 Jan 2016 12:54:31 -0800 |
parents | f2206f5bb62e |
children | 1fbfcc0334d3 |
comparison
equal
deleted
inserted
replaced
22766:7d02b4097309 | 22767:d88299d598d6 |
---|---|
34 import java.util.HashMap; | 34 import java.util.HashMap; |
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 sun.misc.VM; | |
40 import jdk.vm.ci.code.Architecture; | 39 import jdk.vm.ci.code.Architecture; |
40 import jdk.vm.ci.code.CompilationRequestFailure; | |
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; |
48 import jdk.vm.ci.meta.ResolvedJavaType; | 48 import jdk.vm.ci.meta.ResolvedJavaType; |
49 import jdk.vm.ci.runtime.JVMCI; | 49 import jdk.vm.ci.runtime.JVMCI; |
50 import jdk.vm.ci.runtime.JVMCIBackend; | 50 import jdk.vm.ci.runtime.JVMCIBackend; |
51 import jdk.vm.ci.runtime.JVMCICompiler; | 51 import jdk.vm.ci.runtime.JVMCICompiler; |
52 import jdk.vm.ci.services.Services; | 52 import jdk.vm.ci.services.Services; |
53 import sun.misc.VM; | |
53 | 54 |
54 //JaCoCo Exclude | 55 //JaCoCo Exclude |
55 | 56 |
56 /** | 57 /** |
57 * HotSpot implementation of a JVMCI runtime. | 58 * HotSpot implementation of a JVMCI runtime. |
239 | 240 |
240 /** | 241 /** |
241 * Called from the VM. | 242 * Called from the VM. |
242 */ | 243 */ |
243 @SuppressWarnings({"unused"}) | 244 @SuppressWarnings({"unused"}) |
244 private void compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, long jvmciEnv, int id) { | 245 private CompilationRequestFailure compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, long jvmciEnv, int id) { |
245 getCompiler().compileMethod(new HotSpotCompilationRequest(method, entryBCI, jvmciEnv, id)); | 246 return getCompiler().compileMethod(new HotSpotCompilationRequest(method, entryBCI, jvmciEnv, id)); |
246 } | 247 } |
247 | 248 |
248 /** | 249 /** |
249 * Shuts down the runtime. | 250 * Shuts down the runtime. |
250 * | 251 * |