RFR: 8356228: NMT does not record reserved memory base address correctly

Stefan Karlsson stefank at openjdk.org
Wed Jun 11 08:58:31 UTC 2025


On Tue, 10 Jun 2025 11:23:14 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> NMT ignores tracking of releasing CDS regions that are contained in larger regions, because they should be in a specific order.

The special-case handling of CDS in NMT breaks abstractions and has caused a number of bugs. I'm worried that trying to workaround this special-case code makes the code even more susceptible for future bugs. So, therefore I'm interested to here about the planes you have to replace the NMT implementation with a tree. Isn't that going to remove the CDS special-case code and maybe be even solve this issue without the need for this fix? If not, feel free to ignore my comment.

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

PR Comment: https://git.openjdk.org/jdk/pull/25719#issuecomment-2961794111


More information about the hotspot-runtime-dev mailing list