Mercurial > hg > graal-compiler
comparison graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompiler.java @ 9108:b78686983a75
GRAAL-218: add CompileTheWorld functionality
Reviewed-by:
author | twisti |
---|---|
date | Sat, 13 Apr 2013 22:59:27 -0700 |
parents | 8bbbde9d0a52 |
children | bc26f978b0ce |
comparison
equal
deleted
inserted
replaced
9107:368ed6c6a02b | 9108:b78686983a75 |
---|---|
32 /** | 32 /** |
33 * Calls from HotSpot into Java. | 33 * Calls from HotSpot into Java. |
34 */ | 34 */ |
35 public interface VMToCompiler { | 35 public interface VMToCompiler { |
36 | 36 |
37 /** | |
38 * Compiles a method to machine code. This method is called from the VM | |
39 * (VMToCompiler::compileMethod). | |
40 * | |
41 * @return true if the method is in the queue (either added to the queue or already in the | |
42 * queue) | |
43 */ | |
37 boolean compileMethod(long metaspaceMethod, HotSpotResolvedObjectType holder, int entryBCI, boolean blocking, int priority) throws Throwable; | 44 boolean compileMethod(long metaspaceMethod, HotSpotResolvedObjectType holder, int entryBCI, boolean blocking, int priority) throws Throwable; |
45 | |
46 /** | |
47 * Compiles a method to machine code. | |
48 * | |
49 * @return true if the method is in the queue (either added to the queue or already in the | |
50 * queue) | |
51 */ | |
52 boolean compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, boolean blocking, int priority) throws Throwable; | |
38 | 53 |
39 void shutdownCompiler() throws Throwable; | 54 void shutdownCompiler() throws Throwable; |
40 | 55 |
41 void startCompiler() throws Throwable; | 56 void startCompiler() throws Throwable; |
42 | 57 |