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

Afshin Zafari azafari at openjdk.org
Fri Apr 11 08:19:00 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 83 commits:

 - 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
 - test cases for doing reserve or commit the same region twice.
 - style, some cleanup, VMT and regionsTree circular dep resolved
 - removed UseFlagInPlace test.
 - reviews applied.
 - test file got back, fixed coding style
 - once more.
 - ... and 73 more: https://git.openjdk.org/jdk/compare/cf0308b2...95198a8e

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

Changes: https://git.openjdk.org/jdk/pull/20425/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20425&range=37
  Stats: 1446 lines in 26 files changed: 582 ins; 544 del; 320 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-runtime-dev mailing list