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

Johan Sjölen jsjolen at openjdk.org
Fri Sep 12 09:16:47 UTC 2025


> 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 two additional commits since the last revision:

 - Merge remote-tracking branch 'origin/missing-locks' into missing-locks
 - Merge lock blocks

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/27038/files
  - new: https://git.openjdk.org/jdk/pull/27038/files/1cb83538..2b4f53e9

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=27038&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=27038&range=01-02

  Stats: 5 lines in 1 file changed: 0 ins; 4 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/27038.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/27038/head:pull/27038

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


More information about the hotspot-runtime-dev mailing list