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

Johan Sjölen jsjolen at openjdk.org
Wed Feb 26 12:34:22 UTC 2025


On Tue, 25 Feb 2025 11:06:26 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

>> - `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 incrementally with one additional commit since the last revision:
> 
>   reviews applied.

test/hotspot/gtest/nmt/test_vmatree.cpp line 221:

> 219:   EXPECT_EQ(-50, diff.tag[NMTUtil::tag_to_index(mtTest)].commit);
> 220: }
> 221: 

What's going on with this test?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/20425#discussion_r1971504677


More information about the hotspot-dev mailing list