diff -r a8dcacf95bff -r 1126f0607c70 src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp --- a/src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp Thu Apr 25 05:54:54 2019 -0700 +++ b/src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp Thu Apr 25 10:56:31 2019 -0400 @@ -135,7 +135,7 @@ ResourceMark rm(jt); const char* const canonical_chunk_path = JfrJavaSupport::c_str(path, jt); { - MutexLockerEx stream_lock(JfrStream_lock, Mutex::_no_safepoint_check_flag); + MutexLocker stream_lock(JfrStream_lock, Mutex::_no_safepoint_check_flag); if (NULL == canonical_chunk_path && !_chunkwriter->is_valid()) { // new output is NULL and current output is NULL return;