RFR: 8337217: Port VirtualMemoryTracker to use VMATree [v43]

Afshin Zafari azafari at openjdk.org
Wed Jun 18 09:20:09 UTC 2025


> - `VMATree` is used instead of `SortedLinkList` in new class `VirtualMemoryTracker`.
>  -  A wrapper/helper `RegionTree` is made around VMATree to make some calls easier.
>  - `find_reserved_region()` is used in 4 cases, it will be removed in further PRs.
>  - All tier1 tests pass except this https://bugs.openjdk.org/browse/JDK-8335167.

Afshin Zafari has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 89 commits:

 - Merge remote-tracking branch 'origin/master' into _8337217_nmt_VMT_with_tree
 - copyright years
 - fixes to a few failures.
 - changes after merge
 - Merge remote-tracking branch 'origin/master' into _8337217_nmt_VMT_with_tree
 - fixes after merge with master.
 - Merge remote-tracking branch 'origin/master' into _8337217_nmt_VMT_with_tree
 - Merge remote-tracking branch 'origin/master' into _8337217_nmt_VMT_with_tree
 - more reviews.
 - review comments applied
 - ... and 79 more: https://git.openjdk.org/jdk/compare/2b94b70e...66ddc675

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

Changes: https://git.openjdk.org/jdk/pull/20425/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20425&range=42
  Stats: 1459 lines in 27 files changed: 571 ins; 567 del; 321 mod
  Patch: https://git.openjdk.org/jdk/pull/20425.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20425/head:pull/20425

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


More information about the hotspot-dev mailing list