58 this(checkPermission());
59 }
60
61 /**
62 * Notifies this client that the VM is shutting down.
63 */
64 public void notifyShutdown() {
65 }
66
67 /**
68 * Notify on successful install into the code cache.
69 *
70 * @param hotSpotCodeCacheProvider
71 * @param installedCode
72 * @param compiledCode
73 */
74 public void notifyInstall(HotSpotCodeCacheProvider hotSpotCodeCacheProvider, InstalledCode installedCode, CompiledCode compiledCode) {
75 }
76
77 /**
78 * Create a custom {@link JVMCIMetaAccessContext} to be used for managing the lifetime of loaded
79 * metadata. It a custom one isn't created then the default implementation will be a single
80 * context with globally shared instances of {@link ResolvedJavaType} that are never released.
81 *
82 * @param runtime the runtime instance that will use the returned context
83 * @return a custom context or null
84 */
85 public JVMCIMetaAccessContext createMetaAccessContext(HotSpotJVMCIRuntime runtime) {
86 return null;
87 }
88 }
|
58 this(checkPermission());
59 }
60
61 /**
62 * Notifies this client that the VM is shutting down.
63 */
64 public void notifyShutdown() {
65 }
66
67 /**
68 * Notify on successful install into the code cache.
69 *
70 * @param hotSpotCodeCacheProvider
71 * @param installedCode
72 * @param compiledCode
73 */
74 public void notifyInstall(HotSpotCodeCacheProvider hotSpotCodeCacheProvider, InstalledCode installedCode, CompiledCode compiledCode) {
75 }
76
77 /**
78 * Notify on completion of a bootstrap.
79 */
80 public void notifyBootstrapFinished() {
81 }
82
83 /**
84 * Create a custom {@link JVMCIMetaAccessContext} to be used for managing the lifetime of loaded
85 * metadata. It a custom one isn't created then the default implementation will be a single
86 * context with globally shared instances of {@link ResolvedJavaType} that are never released.
87 *
88 * @param runtime the runtime instance that will use the returned context
89 * @return a custom context or null
90 */
91 public JVMCIMetaAccessContext createMetaAccessContext(HotSpotJVMCIRuntime runtime) {
92 return null;
93 }
94 }
|