RFR: 8369440: Replace RootResolverMarkScope and RootSetClosureMarkScope with NMethodMarkingScope

Francesco Andreuzzi fandreuzzi at openjdk.org
Thu Oct 9 21:37:05 UTC 2025


On Thu, 9 Oct 2025 15:03:40 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

> Preexisting: why the two "*MarkScope" are needed at all? (I can't find the code that actually requires the use of `NMethodMarkingScope`.)

Actually, I couldn't find it either. 

These `MarkScope` subclasses were introduced in a060be1 ([JDK-8199712](https://bugs.openjdk.org/browse/JDK-8199712)). I couldn't find any reason for adding them in a060be1. 

I'll remove them and re-run the tests.

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

PR Comment: https://git.openjdk.org/jdk/pull/27729#issuecomment-3387558771


More information about the hotspot-dev mailing list