src/hotspot/share/jfr/recorder/repository/jfrRepository.cpp
changeset 54623 1126f0607c70
parent 54263 3cabb47758c9
child 57360 5d043a159d5c
child 58863 c16ac7a2eba4
--- 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;