40 // 41 class Jfr : AllStatic { 42 public: 43 static bool is_enabled(); 44 static bool is_disabled(); 45 static bool is_recording(); 46 static void on_create_vm_1(); 47 static void on_create_vm_2(); 48 static void on_create_vm_3(); 49 static void on_unloading_classes(); 50 static void on_thread_start(Thread* thread); 51 static void on_thread_exit(Thread* thread); 52 static void on_java_thread_dismantle(JavaThread* jt); 53 static void on_vm_shutdown(bool exception_handler = false); 54 static bool on_flight_recorder_option(const JavaVMOption** option, char* delimiter); 55 static bool on_start_flight_recording_option(const JavaVMOption** option, char* delimiter); 56 static void weak_oops_do(BoolObjectClosure* is_alive, OopClosure* f); 57 static void exclude_thread(Thread* thread); 58 static bool is_excluded(Thread* thread); 59 static void include_thread(Thread* thread); 60 }; 61 62 #endif // SHARE_JFR_JFR_HPP | 40 // 41 class Jfr : AllStatic { 42 public: 43 static bool is_enabled(); 44 static bool is_disabled(); 45 static bool is_recording(); 46 static void on_create_vm_1(); 47 static void on_create_vm_2(); 48 static void on_create_vm_3(); 49 static void on_unloading_classes(); 50 static void on_thread_start(Thread* thread); 51 static void on_thread_exit(Thread* thread); 52 static void on_java_thread_dismantle(JavaThread* jt); 53 static void on_vm_shutdown(bool exception_handler = false); 54 static bool on_flight_recorder_option(const JavaVMOption** option, char* delimiter); 55 static bool on_start_flight_recording_option(const JavaVMOption** option, char* delimiter); 56 static void weak_oops_do(BoolObjectClosure* is_alive, OopClosure* f); 57 static void exclude_thread(Thread* thread); 58 static bool is_excluded(Thread* thread); 59 static void include_thread(Thread* thread); 60 static const char* get_emergency_dump_path(); 61 static const char* get_repository_path(); 62 }; 63 64 #endif // SHARE_JFR_JFR_HPP |