graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompiler.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompiler.java Fri Apr 12 12:30:27 2013
--- new/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompiler.java Fri Apr 12 12:30:27 2013
*** 32,43 ****
--- 32,58 ----
/**
* Calls from HotSpot into Java.
*/
public interface VMToCompiler {
+ /**
+ * Compiles a method to machine code. This method is called from the VM
+ * (VMToCompiler::compileMethod).
+ *
+ * @return true if the method is in the queue (either added to the queue or already in the
+ * queue)
+ */
boolean compileMethod(long metaspaceMethod, HotSpotResolvedObjectType holder, int entryBCI, boolean blocking, int priority) throws Throwable;
+ /**
+ * Compiles a method to machine code.
+ *
+ * @return true if the method is in the queue (either added to the queue or already in the
+ * queue)
+ */
+ boolean compileMethod(HotSpotResolvedJavaMethod method, int entryBCI, boolean blocking, int priority) throws Throwable;
+
void shutdownCompiler() throws Throwable;
void startCompiler() throws Throwable;
void bootstrap() throws Throwable;
graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/bridge/VMToCompiler.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File