RFR: 8369440: Replace RootResolverMarkScope and RootSetClosureMarkScope with NMethodMarkingScope
Albert Mingkun Yang
ayang at openjdk.org
Thu Oct 9 15:06:08 UTC 2025
On Thu, 9 Oct 2025 14:19:22 GMT, Francesco Andreuzzi <fandreuzzi at openjdk.org> wrote:
> `RootResolverMarkScope` and `RootSetClosureMarkScope` have equivalent implementations to `NMethodMarkingScope`. They can be replaced to be more clear about what is actually needed.
>
> We can also delete `strongRootsScope.hpp`, this change removes its last usages.
>
> Passes tier1 and tier2 (fastdebug).
Preexisting: why the two "*MarkScope" are needed at all? (I can't find the code that actually requires the use of `NMethodMarkingScope`.)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27729#issuecomment-3386220428
More information about the hotspot-dev
mailing list