changeset 56438:758da77e4cd2

8229176: Shenandoah should acquire CodeCache_lock without safepoint check Reviewed-by: rkennke
author shade
date Tue, 06 Aug 2019 11:57:42 +0200
parents ddae2da329ed
children 06eed83ab4cd
files src/hotspot/share/gc/shenandoah/shenandoahCodeRoots.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: