RFR: 8369980: Use ThreadsClaimTokenScope in ShenandoahThreadRoots

Albert Mingkun Yang ayang at openjdk.org
Thu Oct 16 11:17:11 UTC 2025


On Thu, 16 Oct 2025 11:02:50 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

> The explicit usage of `Threads::change_thread_claim_token` and `Threads::assert_all_threads_claimed` in `ShenandoahThreadRoots` can be replaced with `ThreadsClaimTokenScope`.
> 
> Passes tier1, tier2, tier[1,2,3]_gc_shenandoah (fastdebug).

Marked as reviewed by ayang (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/27845#pullrequestreview-3344295158


More information about the shenandoah-dev mailing list