RFR: 8367417: Serial: Use NMethodToOopClosure during Young GC
Thomas Schatzl
tschatzl at openjdk.org
Tue Sep 16 08:33:28 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 tschatzl (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27226#pullrequestreview-3228361569
More information about the hotspot-gc-dev
mailing list