changeset 60057:505a6165d85a

8248725: Shenandoah: Claim verifier thread roots for parallel processing Reviewed-by: shade
author rkennke
date Fri, 03 Jul 2020 11:09:59 +0200
parents ce6c339f4daf
children 3e09a3309ea2
files src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp	Fri Jul 03 10:05:53 2020 +0200
+++ b/src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp	Fri Jul 03 11:09:59 2020 +0200
@@ -138,7 +138,7 @@
   // Do thread roots the last. This allows verification code to find
   // any broken objects from those special roots first, not the accidental
   // dangling reference from the thread root.
-  Threads::possibly_parallel_oops_do(false, oops, &blobs);
+  Threads::possibly_parallel_oops_do(true, oops, &blobs);
 }
 
 void ShenandoahRootVerifier::strong_roots_do(OopClosure* oops) {
@@ -159,7 +159,7 @@
   // Do thread roots the last. This allows verification code to find
   // any broken objects from those special roots first, not the accidental
   // dangling reference from the thread root.
-  Threads::possibly_parallel_oops_do(false, oops, &blobs);
+  Threads::possibly_parallel_oops_do(true, oops, &blobs);
 }
 
 void ShenandoahRootVerifier::serial_weak_roots_do(OopClosure* cl) {