RFR: 8366658: Add missing locks when accessing the VirtualMemoryTracker instance in tests and MemMapPrinter [v2]

Paul Hübner phubner at openjdk.org
Fri Sep 12 09:11:19 UTC 2025


On Fri, 12 Sep 2025 09:08:17 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

>> Hi,
>> 
>> This PR adds the missing locks for the tests and MemMapPrinter, also fixes a small bug in `walk_virtual_memory`. See inline review comments.
>> 
>> Passes tier1.
>
> Johan Sjölen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Update src/hotspot/share/nmt/virtualMemoryTracker.hpp
>   
>   Co-authored-by: David Holmes <62092539+dholmes-ora at users.noreply.github.com>

Happy to address the inline header refactoring separately.

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

Marked as reviewed by phubner (Author).

PR Review: https://git.openjdk.org/jdk/pull/27038#pullrequestreview-3215569932


More information about the hotspot-runtime-dev mailing list