216 } |
216 } |
217 |
217 |
218 // Add read edges to the unnamed modules of the bootstrap and app class loaders |
218 // Add read edges to the unnamed modules of the bootstrap and app class loaders |
219 static void add_default_read_edges(Handle h_module, TRAPS) NOT_JVMTI_RETURN; |
219 static void add_default_read_edges(Handle h_module, TRAPS) NOT_JVMTI_RETURN; |
220 |
220 |
|
221 // Add a read edge to the module |
|
222 static jvmtiError add_module_reads(Handle module, Handle to_module, TRAPS); |
|
223 |
|
224 // Updates a module to export a package |
|
225 static jvmtiError add_module_exports(Handle module, Handle pkg_name, Handle to_module, TRAPS); |
|
226 |
|
227 // Updates a module to open a package |
|
228 static jvmtiError add_module_opens(Handle module, Handle pkg_name, Handle to_module, TRAPS); |
|
229 |
|
230 // Add a used service to the module |
|
231 static jvmtiError add_module_uses(Handle module, Handle service, TRAPS); |
|
232 |
|
233 // Add a service provider to the module |
|
234 static jvmtiError add_module_provides(Handle module, Handle service, Handle impl_class, TRAPS); |
|
235 |
221 // let JVMTI know that the JVM_OnLoad code is running |
236 // let JVMTI know that the JVM_OnLoad code is running |
222 static void enter_onload_phase() NOT_JVMTI_RETURN; |
237 static void enter_onload_phase() NOT_JVMTI_RETURN; |
223 |
238 |
224 // let JVMTI know that the VM isn't up yet (and JVM_OnLoad code isn't running) |
239 // let JVMTI know that the VM isn't up yet (and JVM_OnLoad code isn't running) |
225 static void enter_primordial_phase() NOT_JVMTI_RETURN; |
240 static void enter_primordial_phase() NOT_JVMTI_RETURN; |