RFR: 8368599: ShenandoahConcurrentMark could use ThreadsClaimTokenScope [v2]

Aleksey Shipilev shade at openjdk.org
Tue Sep 30 16:18:35 UTC 2025


On Thu, 25 Sep 2025 11:00:18 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:

>> Replace `StrongRootsScope` with `ThreadsClaimTokenScope` in `ShenandoahConcurrentMark::finish_mark_work` to be more precise with what is actually needed and why. Similar to #27385.
>> 
>> Test: tier1, and tier[1,2,3]_gc_shenandoah
>
> Francesco Andreuzzi has updated the pull request incrementally with one additional commit since the last revision:
> 
>   as field

OK, fine. I see `ShenandoahSTWMark` still uses `StrongRootsScope`, which answers my question.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27477#pullrequestreview-3285772695


More information about the hotspot-gc-dev mailing list