RFR: 8367417: Serial: Use NMethodToOopClosure during Young GC
Albert Mingkun Yang
ayang at openjdk.org
Wed Sep 17 08:23:58 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
Thanks for review.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27226#issuecomment-3301863401
More information about the hotspot-gc-dev
mailing list