8229176: Shenandoah should acquire CodeCache_lock without safepoint check
authorshade
Tue, 06 Aug 2019 11:57:42 +0200
changeset 57652 758da77e4cd2
parent 57651 ddae2da329ed
child 57653 06eed83ab4cd
8229176: Shenandoah should acquire CodeCache_lock without safepoint check Reviewed-by: rkennke
src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
--- a/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp	Fri Aug 02 10:10:42 2019 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp	Tue Aug 06 11:57:42 2019 +0200
@@ -200,7 +200,7 @@
       break;
     }
     case 2: {
-      CodeCache_lock->lock();
+      CodeCache_lock->lock_without_safepoint_check();
       break;
     }
     default: