Integrated: 8359959: Test runtime/NMT/VirtualAllocTestType.java failed: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr

Afshin Zafari azafari at openjdk.org
Tue Jun 24 11:20:34 UTC 2025


On Thu, 19 Jun 2025 09:14:14 GMT, Afshin Zafari <azafari at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: f5201ac1
Author:    Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f5201ac117fa66638f36cec3bc5f5059b37f2860
Stats:     22 lines in 2 files changed: 15 ins; 1 del; 6 mod

8359959: Test runtime/NMT/VirtualAllocTestType.java failed: '\\[0x[0]*7f7dc4043000 - 0x[0]*7f7dc4083000\\] reserved 256KB for Test' missing from stdout/stderr

Reviewed-by: jsjolen, dholmes

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

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


More information about the hotspot-runtime-dev mailing list