Integrated: 8368261: Serial: Use more precise nmethod scope during Full GC marking
Albert Mingkun Yang
ayang at openjdk.org
Thu Sep 25 16:50:42 UTC 2025
On Mon, 22 Sep 2025 11:08:39 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Small patch of extracting out the nmethod-marking-scope logic in Serial full-gc. The new `NMethodMarkingScope` is placed in `nmethod.hpp` like its counterpart `ThreadsClaimTokenScope`.
>
> The new `struct` is almost identical to the existing `MarkScope`, so there is a planned followup PR that will address all other users of `StrongRootsScope` to use the recently introduced `ThreadsClaimTokenScope` and the new `NMethodMarkingScope` introduced in this PR, which would make it less abtract than the name `StrongRootsScope`.
>
> Test: tier1-3
This pull request has now been integrated.
Changeset: 74122198
Author: Albert Mingkun Yang <ayang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/741221988e03d1710d3a73ab9c7764991f216fae
Stats: 21 lines in 2 files changed: 14 ins; 5 del; 2 mod
8368261: Serial: Use more precise nmethod scope during Full GC marking
Reviewed-by: stefank, fandreuzzi
-------------
PR: https://git.openjdk.org/jdk/pull/27423
More information about the hotspot-dev
mailing list