src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp
changeset 54623 1126f0607c70
parent 54536 fb53a1c25903
child 54687 df2b3565f343
--- a/src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp	Thu Apr 25 05:54:54 2019 -0700
+++ b/src/hotspot/share/gc/shenandoah/shenandoahConcurrentMark.cpp	Thu Apr 25 10:56:31 2019 -0400
@@ -360,7 +360,7 @@
   if (ShenandoahConcurrentScanCodeRoots && claim_codecache()) {
     ShenandoahObjToScanQueue* q = task_queues()->queue(worker_id);
     if (!_heap->unload_classes()) {
-      MutexLockerEx mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
+      MutexLocker mu(CodeCache_lock, Mutex::_no_safepoint_check_flag);
       // TODO: We can not honor StringDeduplication here, due to lock ranking
       // inversion. So, we may miss some deduplication candidates.
       if (_heap->has_forwarded_objects()) {