src/hotspot/share/services/threadService.cpp
changeset 54623 1126f0607c70
parent 53463 b2d1c3b0bd31
child 54786 ebf733a324d4
--- a/src/hotspot/share/services/threadService.cpp	Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/services/threadService.cpp	Thu Apr 25 10:56:31 2019 -0400
@@ -97,7 +97,7 @@
 void ThreadService::reset_peak_thread_count() {
   // Acquire the lock to update the peak thread count
   // to synchronize with thread addition and removal.
-  MutexLockerEx mu(Threads_lock);
+  MutexLocker mu(Threads_lock);
   _peak_threads_count->set_value(get_live_thread_count());
 }