< prev index next >

src/hotspot/share/jfr/jfr.cpp

Print this page




  97 
  98 void Jfr::on_vm_shutdown(bool exception_handler) {
  99   if (JfrRecorder::is_recording()) {
 100     JfrEmergencyDump::on_vm_shutdown(exception_handler);
 101   }
 102 }
 103 
 104 void Jfr::weak_oops_do(BoolObjectClosure* is_alive, OopClosure* f) {
 105   if (LeakProfiler::is_running()) {
 106     LeakProfiler::weak_oops_do(is_alive, f);
 107   }
 108 }
 109 
 110 bool Jfr::on_flight_recorder_option(const JavaVMOption** option, char* delimiter) {
 111   return JfrOptionSet::parse_flight_recorder_option(option, delimiter);
 112 }
 113 
 114 bool Jfr::on_start_flight_recording_option(const JavaVMOption** option, char* delimiter) {
 115   return JfrOptionSet::parse_start_flight_recording_option(option, delimiter);
 116 }








  97 
  98 void Jfr::on_vm_shutdown(bool exception_handler) {
  99   if (JfrRecorder::is_recording()) {
 100     JfrEmergencyDump::on_vm_shutdown(exception_handler);
 101   }
 102 }
 103 
 104 void Jfr::weak_oops_do(BoolObjectClosure* is_alive, OopClosure* f) {
 105   if (LeakProfiler::is_running()) {
 106     LeakProfiler::weak_oops_do(is_alive, f);
 107   }
 108 }
 109 
 110 bool Jfr::on_flight_recorder_option(const JavaVMOption** option, char* delimiter) {
 111   return JfrOptionSet::parse_flight_recorder_option(option, delimiter);
 112 }
 113 
 114 bool Jfr::on_start_flight_recording_option(const JavaVMOption** option, char* delimiter) {
 115   return JfrOptionSet::parse_start_flight_recording_option(option, delimiter);
 116 }
 117 
 118 void Jfr::setup_emergency_dump_file_descriptor() {
 119   if (JfrRecorder::is_recording()) {
 120     JfrEmergencyDump::setup_emergency_dump_file_descriptor();
 121   }
 122 }
< prev index next >