diff -r 5851f445c684 -r c4067538a0f2 src/hotspot/share/jfr/jfr.cpp --- a/src/hotspot/share/jfr/jfr.cpp Sat Sep 21 12:31:40 2019 +0200 +++ b/src/hotspot/share/jfr/jfr.cpp Sat Sep 21 12:33:26 2019 +0200 @@ -58,7 +58,7 @@ } void Jfr::on_unloading_classes() { - if (JfrRecorder::is_created()) { + if (JfrRecorder::is_recording()) { JfrCheckpointManager::write_type_set_for_unloaded_classes(); } }