< prev index next >

src/hotspot/share/prims/jvmtiExport.hpp

Print this page

380   static void post_compiled_method_load(JvmtiEnv* env, nmethod *nm) NOT_JVMTI_RETURN;
381   static void post_compiled_method_load(nmethod *nm) NOT_JVMTI_RETURN;
382   static void post_dynamic_code_generated(const char *name, const void *code_begin, const void *code_end) NOT_JVMTI_RETURN;
383 
384   // used to post a CompiledMethodUnload event
385   static void post_compiled_method_unload(jmethodID mid, const void *code_begin) NOT_JVMTI_RETURN;
386 
387   // similar to post_dynamic_code_generated except that it can be used to
388   // post a DynamicCodeGenerated event while holding locks in the VM. Any event
389   // posted using this function is recorded by the enclosing event collector
390   // -- JvmtiDynamicCodeEventCollector.
391   static void post_dynamic_code_generated_while_holding_locks(const char* name, address code_begin, address code_end) NOT_JVMTI_RETURN;
392 
393   static void post_garbage_collection_finish() NOT_JVMTI_RETURN;
394   static void post_garbage_collection_start() NOT_JVMTI_RETURN;
395   static void post_data_dump() NOT_JVMTI_RETURN;
396   static void post_monitor_contended_enter(JavaThread *thread, ObjectMonitor *obj_mntr) NOT_JVMTI_RETURN;
397   static void post_monitor_contended_entered(JavaThread *thread, ObjectMonitor *obj_mntr) NOT_JVMTI_RETURN;
398   static void post_monitor_wait(JavaThread *thread, oop obj, jlong timeout) NOT_JVMTI_RETURN;
399   static void post_monitor_waited(JavaThread *thread, ObjectMonitor *obj_mntr, jboolean timed_out) NOT_JVMTI_RETURN;

400   static void post_object_free(JvmtiEnv* env, GrowableArray<jlong>* objects) NOT_JVMTI_RETURN;
401   static void post_resource_exhausted(jint resource_exhausted_flags, const char* detail) NOT_JVMTI_RETURN;
402   static void record_vm_internal_object_allocation(oop object) NOT_JVMTI_RETURN;
403   // Post objects collected by vm_object_alloc_event_collector.
404   static void post_vm_object_alloc(JavaThread *thread, oop object) NOT_JVMTI_RETURN;
405   // Collects vm internal objects for later event posting.
406   inline static void vm_object_alloc_event_collector(oop object) {
407     if (should_post_vm_object_alloc()) {
408       record_vm_internal_object_allocation(object);
409     }
410   }
411 
412   // Used by C2 to deoptimize allocation intrinsics and post vm_object_alloc
413   static int _should_notify_object_alloc;
414 
415   static void record_sampled_internal_object_allocation(oop object) NOT_JVMTI_RETURN;
416   // Post objects collected by sampled_object_alloc_event_collector.
417   static void post_sampled_object_alloc(JavaThread *thread, oop object) NOT_JVMTI_RETURN;
418 
419   // Collects vm internal objects for later event posting.

380   static void post_compiled_method_load(JvmtiEnv* env, nmethod *nm) NOT_JVMTI_RETURN;
381   static void post_compiled_method_load(nmethod *nm) NOT_JVMTI_RETURN;
382   static void post_dynamic_code_generated(const char *name, const void *code_begin, const void *code_end) NOT_JVMTI_RETURN;
383 
384   // used to post a CompiledMethodUnload event
385   static void post_compiled_method_unload(jmethodID mid, const void *code_begin) NOT_JVMTI_RETURN;
386 
387   // similar to post_dynamic_code_generated except that it can be used to
388   // post a DynamicCodeGenerated event while holding locks in the VM. Any event
389   // posted using this function is recorded by the enclosing event collector
390   // -- JvmtiDynamicCodeEventCollector.
391   static void post_dynamic_code_generated_while_holding_locks(const char* name, address code_begin, address code_end) NOT_JVMTI_RETURN;
392 
393   static void post_garbage_collection_finish() NOT_JVMTI_RETURN;
394   static void post_garbage_collection_start() NOT_JVMTI_RETURN;
395   static void post_data_dump() NOT_JVMTI_RETURN;
396   static void post_monitor_contended_enter(JavaThread *thread, ObjectMonitor *obj_mntr) NOT_JVMTI_RETURN;
397   static void post_monitor_contended_entered(JavaThread *thread, ObjectMonitor *obj_mntr) NOT_JVMTI_RETURN;
398   static void post_monitor_wait(JavaThread *thread, oop obj, jlong timeout) NOT_JVMTI_RETURN;
399   static void post_monitor_waited(JavaThread *thread, ObjectMonitor *obj_mntr, jboolean timed_out) NOT_JVMTI_RETURN;
400   static void vthread_post_monitor_waited(JavaThread *current, ObjectMonitor *obj_mntr, jboolean timed_out) NOT_JVMTI_RETURN;
401   static void post_object_free(JvmtiEnv* env, GrowableArray<jlong>* objects) NOT_JVMTI_RETURN;
402   static void post_resource_exhausted(jint resource_exhausted_flags, const char* detail) NOT_JVMTI_RETURN;
403   static void record_vm_internal_object_allocation(oop object) NOT_JVMTI_RETURN;
404   // Post objects collected by vm_object_alloc_event_collector.
405   static void post_vm_object_alloc(JavaThread *thread, oop object) NOT_JVMTI_RETURN;
406   // Collects vm internal objects for later event posting.
407   inline static void vm_object_alloc_event_collector(oop object) {
408     if (should_post_vm_object_alloc()) {
409       record_vm_internal_object_allocation(object);
410     }
411   }
412 
413   // Used by C2 to deoptimize allocation intrinsics and post vm_object_alloc
414   static int _should_notify_object_alloc;
415 
416   static void record_sampled_internal_object_allocation(oop object) NOT_JVMTI_RETURN;
417   // Post objects collected by sampled_object_alloc_event_collector.
418   static void post_sampled_object_alloc(JavaThread *thread, oop object) NOT_JVMTI_RETURN;
419 
420   // Collects vm internal objects for later event posting.
< prev index next >