RFR: 8369980: Use ThreadsClaimTokenScope in ShenandoahThreadRoots

duke duke at openjdk.org
Fri Oct 17 09:43:04 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).

@fandreuz 
Your change (at version 42b50e908a49cf3378c36b44ec8c0f66efb5288d) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/jdk/pull/27845#issuecomment-3414669462


More information about the shenandoah-dev mailing list