--- old/src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp 2019-07-08 11:17:29.000000000 -0700 +++ new/src/hotspot/share/jfr/recorder/repository/jfrEmergencyDump.cpp 2019-07-08 11:17:28.000000000 -0700 @@ -393,6 +393,10 @@ Service_lock->unlock(); } + if (Notification_lock->owned_by_self()) { + Notification_lock->unlock(); + } + if (CodeCache_lock->owned_by_self()) { CodeCache_lock->unlock(); }