Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.
/ lanai Public archive

Commit

Permalink
8248799: Shenandoah: Claim threads token in constructor of Shenandoah…
Browse files Browse the repository at this point in the history
…RootVerifier

Reviewed-by: zgu
  • Loading branch information
rkennke committed Jul 3, 2020
1 parent 6c89a96 commit 734a6c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hotspot/share/gc/shenandoah/shenandoahRootVerifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
STATIC_ASSERT((static_cast<uint>(ShenandoahRootVerifier::AllRoots) + 1) > static_cast<uint>(ShenandoahRootVerifier::AllRoots));

ShenandoahRootVerifier::ShenandoahRootVerifier(RootTypes types) : _types(types) {
Threads::change_thread_claim_token();
}

void ShenandoahRootVerifier::excludes(RootTypes types) {
Expand Down

0 comments on commit 734a6c9

Please sign in to comment.