RFR: 8367848: Parallel: Use NMethodToOopClosure during Young GC [v2]

Albert Mingkun Yang ayang at openjdk.org
Thu Sep 18 09:04:28 UTC 2025


On Wed, 17 Sep 2025 19:29:38 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:

>> `ThreadsClaimTokenScope` should only be used by GC code, so I can put it in GC-shared code instead of `threads`.
>
> Well, Threads::change_thread_claim_token() are also only used by GC but it is still located in Threads. Another alternative could be to put ThreadsClaimTokenScope at the end of threads.hpp.

Moved to the end of `threads.hpp`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27336#discussion_r2358140692


More information about the hotspot-runtime-dev mailing list