src/hotspot/share/aot/aotCompiledMethod.cpp
changeset 54623 1126f0607c70
parent 54150 5529640c5f67
child 54669 ad45b3802d4e
--- a/src/hotspot/share/aot/aotCompiledMethod.cpp	Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/aot/aotCompiledMethod.cpp	Thu Apr 25 10:56:31 2019 -0400
@@ -167,7 +167,7 @@
 
   {
     // Enter critical section.  Does not block for safepoint.
-    MutexLockerEx pl(Patching_lock, Mutex::_no_safepoint_check_flag);
+    MutexLocker pl(Patching_lock, Mutex::_no_safepoint_check_flag);
 
     if (*_state_adr == new_state) {
       // another thread already performed this transition so nothing
@@ -218,7 +218,7 @@
 
   {
     // Enter critical section.  Does not block for safepoint.
-    MutexLockerEx pl(Patching_lock, Mutex::_no_safepoint_check_flag);
+    MutexLocker pl(Patching_lock, Mutex::_no_safepoint_check_flag);
 
     if (*_state_adr == in_use) {
       // another thread already performed this transition so nothing