RFR: 8359959: Test runtime/NMT/VirtualAllocTestType.java failed: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr [v4]
Afshin Zafari
azafari at openjdk.org
Mon Jun 23 08:50:18 UTC 2025
> The test expects that two disjunct regions are reserved but checked it incompletely.
> It is fixed by reserving a new (third) region with the required size and then released the middle region among these three regions.
> In Windows, it is not possible/valid to release middle regions. Either a whole region or a region that has the same end-address with the whole region can be released. IOW, only 'release the whole' or 'release from address A up to the end' are valid.
>
> Since it (reserving two regions that become adjacent) is not happening always, the test failed occasionally at different tiers.
>
> Tested local linux-x64-debug.
Afshin Zafari has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
- removed from ProblemList
- Merge remote-tracking branch 'origin/master' into _8359959_adjacent_reserves
- reviews
- another approach.
- 8359959: Test runtime/NMT/VirtualAllocTestType.java failed: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/25894/files
- new: https://git.openjdk.org/jdk/pull/25894/files/55795425..bbd834cd
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=25894&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=25894&range=02-03
Stats: 2328 lines in 125 files changed: 1854 ins; 221 del; 253 mod
Patch: https://git.openjdk.org/jdk/pull/25894.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25894/head:pull/25894
PR: https://git.openjdk.org/jdk/pull/25894
More information about the hotspot-runtime-dev
mailing list