Mercurial > hg > truffle
comparison graal/com.oracle.jvmci.hotspot/src/com/oracle/jvmci/hotspot/HotSpotVMEventListener.java @ 21675:2e8c01def9a5
moved [AMD64|SPARC]HotSpotJVMCIBackendFactory into JVMCI namespace (JBS:GRAAL-53)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 03 Jun 2015 00:30:44 +0200 |
parents | 4c146c9367b6 |
children |
comparison
equal
deleted
inserted
replaced
21674:e0b5d4fcd929 | 21675:2e8c01def9a5 |
---|---|
27 public interface HotSpotVMEventListener extends Service { | 27 public interface HotSpotVMEventListener extends Service { |
28 | 28 |
29 /** | 29 /** |
30 * Notifies this client that HotSpot is running in CompileTheWorld mode and the JVMCI compiler | 30 * Notifies this client that HotSpot is running in CompileTheWorld mode and the JVMCI compiler |
31 * should now perform its version of CompileTheWorld. | 31 * should now perform its version of CompileTheWorld. |
32 * | |
33 * @param metaspaceMethod | |
34 * @param entryBCI | |
35 * @param jvmciEnv | |
36 * @param id | |
32 */ | 37 */ |
33 void compileMetaspaceMethod(long metaspaceMethod, int entryBCI, long jvmciEnv, int id); | 38 default void compileMetaspaceMethod(long metaspaceMethod, int entryBCI, long jvmciEnv, int id) { |
39 } | |
34 | 40 |
35 /** | 41 /** |
36 * Notifies this client that HotSpot is running in CompileTheWorld mode and the JVMCI compiler | 42 * Notifies this client that HotSpot is running in CompileTheWorld mode and the JVMCI compiler |
37 * should now perform its version of CompileTheWorld. | 43 * should now perform its version of CompileTheWorld. |
38 */ | 44 */ |
39 void notifyCompileTheWorld() throws Throwable; | 45 default void notifyCompileTheWorld() throws Throwable { |
46 } | |
40 | 47 |
41 /** | 48 /** |
42 * Notifies this client that the VM is shutting down. | 49 * Notifies this client that the VM is shutting down. |
43 */ | 50 */ |
44 void notifyShutdown(); | 51 default void notifyShutdown() { |
52 } | |
45 } | 53 } |