src/hotspot/share/runtime/sharedRuntime.cpp
changeset 54623 1126f0607c70
parent 54523 5df03f58d25b
child 54752 3fbaea4b1f1c
--- a/src/hotspot/share/runtime/sharedRuntime.cpp	Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/runtime/sharedRuntime.cpp	Thu Apr 25 10:56:31 2019 -0400
@@ -2256,7 +2256,7 @@
 
  public:
   MethodArityHistogram() {
-    MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
+    MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
     _max_arity = _max_size = 0;
     for (int i = 0; i < MAX_ARITY; i++) _arity_histogram[i] = _size_histogram[i] = 0;
     CodeCache::nmethods_do(add_method_to_histogram);