RFR: 8369440: Replace RootResolverMarkScope and RootSetClosureMarkScope with NMethodMarkingScope

Francesco Andreuzzi fandreuzzi at openjdk.org
Thu Oct 9 14:25:58 UTC 2025


`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).

-------------

Commit messages:
 - sort
 - replace

Changes: https://git.openjdk.org/jdk/pull/27729/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=27729&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8369440
  Stats: 85 lines in 6 files changed: 2 ins; 81 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/27729.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27729/head:pull/27729

PR: https://git.openjdk.org/jdk/pull/27729


More information about the hotspot-dev mailing list