Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
8248725: Shenandoah: Claim verifier thread roots for parallel processing
Reviewed-by: shade
  • Loading branch information
rkennke committed Jul 3, 2020
1 parent 9993572 commit 5cf33168d7e2617c93f428da6177a50fddaad1c1
Showing 1 changed file with 2 additions and 2 deletions.
@@ -138,7 +138,7 @@ void ShenandoahRootVerifier::roots_do(OopClosure* oops) {
// 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 @@ void ShenandoahRootVerifier::strong_roots_do(OopClosure* oops) {
// 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) {

0 comments on commit 5cf3316

Please sign in to comment.