RFR: 8368086: G1: Use ThreadsClaimTokenScope in G1CMRemarkTask

Albert Mingkun Yang ayang at openjdk.org
Fri Sep 19 12:08:57 UTC 2025


On Fri, 19 Sep 2025 10:16:13 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

> Are we guaranteed that active_workers are > 0 here?

Yes. There is at least one active worker, or we fail at startup, as shown in `WorkerThreads::initialize_workers`.

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

PR Comment: https://git.openjdk.org/jdk/pull/27385#issuecomment-3311943106


More information about the hotspot-gc-dev mailing list