< prev index next >

src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotVMEventListener.java

Print this page

        

*** 20,59 **** * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.hotspot; ! import jdk.vm.ci.code.*; ! import jdk.vm.ci.meta.*; public interface HotSpotVMEventListener { /** * Notifies this client that the VM is shutting down. */ default void notifyShutdown() { } /** ! * Notify on successful install into the CodeCache. * * @param hotSpotCodeCacheProvider * @param installedCode * @param compResult */ default void notifyInstall(HotSpotCodeCacheProvider hotSpotCodeCacheProvider, InstalledCode installedCode, CompilationResult compResult) { } /** - * Perform any extra initialization required. - * - * @param runtime - */ - default void completeInitialization(HotSpotJVMCIRuntime runtime) { - } - - /** * Create a custom {@link JVMCIMetaAccessContext} to be used for managing the lifetime of loaded * metadata. It a custom one isn't created then the default implementation will be a single * context with globally shared instances of {@link ResolvedJavaType} that are never released. * * @param hotSpotJVMCIRuntime --- 20,53 ---- * or visit www.oracle.com if you need additional information or have any * questions. */ package jdk.vm.ci.hotspot; ! import jdk.vm.ci.code.CompilationResult; ! import jdk.vm.ci.code.InstalledCode; ! import jdk.vm.ci.meta.JVMCIMetaAccessContext; ! import jdk.vm.ci.meta.ResolvedJavaType; public interface HotSpotVMEventListener { /** * Notifies this client that the VM is shutting down. */ default void notifyShutdown() { } /** ! * Notify on successful install into the code cache. * * @param hotSpotCodeCacheProvider * @param installedCode * @param compResult */ default void notifyInstall(HotSpotCodeCacheProvider hotSpotCodeCacheProvider, InstalledCode installedCode, CompilationResult compResult) { } /** * Create a custom {@link JVMCIMetaAccessContext} to be used for managing the lifetime of loaded * metadata. It a custom one isn't created then the default implementation will be a single * context with globally shared instances of {@link ResolvedJavaType} that are never released. * * @param hotSpotJVMCIRuntime
< prev index next >