src/hotspot/share/utilities/vmError.cpp
changeset 54623 1126f0607c70
parent 54322 cf75ea6af695
child 54780 f8d182aedc92
--- a/src/hotspot/share/utilities/vmError.cpp	Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/utilities/vmError.cpp	Thu Apr 25 10:56:31 2019 -0400
@@ -1757,7 +1757,7 @@
   // from racing with Threads::add() or Threads::remove() as we
   // generate the hs_err_pid file. This makes our ErrorHandling tests
   // more stable.
-  MutexLockerEx ml(Threads_lock->owned_by_self() ? NULL : Threads_lock, Mutex::_no_safepoint_check_flag);
+  MutexLocker ml(Threads_lock->owned_by_self() ? NULL : Threads_lock, Mutex::_no_safepoint_check_flag);
 
   switch (how) {
     case  1: vmassert(str == NULL, "expected null"); break;