RFR: 8367417: Serial: Use NMethodToOopClosure during Young GC
Stefan Karlsson
stefank at openjdk.org
Tue Sep 16 08:22:31 UTC 2025
On Thu, 11 Sep 2025 13:07:11 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> Change `MarkingNMethodClosure` to `NMethodToOopClosure` in young-gc, because no marking is done during young-gc. After that, `StrongRootsScope` becomes unnecessary as well, it's essentially calling `oops_do_marking_epilogue` to undo the effect of `MarkingNMethodClosure`.
>
> Test: tier1-5
Marked as reviewed by stefank (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27226#pullrequestreview-3228295747
More information about the hotspot-gc-dev
mailing list