RFR: 8368086: G1: Use ThreadsClaimTokenScope in G1CMRemarkTask

Albert Mingkun Yang ayang at openjdk.org
Fri Sep 19 09:23:37 UTC 2025


Replace `StrongRootsScope` with `ThreadsClaimTokenScope` in `G1ConcurrentMark::finalize_marking` to be more precise with what is actually needed and why.

Test: tier1

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

Commit messages:
 - g1-remark-root

Changes: https://git.openjdk.org/jdk/pull/27385/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27385&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368086
  Stats: 5 lines in 1 file changed: 2 ins; 2 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27385.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27385/head:pull/27385

PR: https://git.openjdk.org/jdk/pull/27385


More information about the hotspot-gc-dev mailing list