Integrated: 8371320: runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails with unexpected amount for Java Heap reserved memory

Paul Hübner phubner at openjdk.org
Fri Nov 14 08:33:30 UTC 2025


On Thu, 6 Nov 2025 16:36:33 GMT, Paul Hübner <phubner at openjdk.org> wrote:

> Hi all,
> 
> In [JDK-8364741](https://bugs.openjdk.org/browse/JDK-8364741) it was discovered that asan reserves a bit more heap. The test got patched by checking for asan and adjusting the expectation, respectively.
> 
> It turns out that, rarely, we do reserve more memory even without asan enabled. This change updates the test:
> a) to ensure that some sort of reservation size is reported; and
> b) to extract the reserved amount and assert that it is no less than the committed amount
> 
> Testing: Ran tier1. Stress tested the individual test with 5x100 repetitions per platform (Linux x64, AArch64; macOS x64, AArch64; Windows x64).

This pull request has now been integrated.

Changeset: 81e0c87f
Author:    Paul Hübner <phubner at openjdk.org>
Committer: Afshin Zafari <azafari at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/81e0c87f28934cb0d66ad2500352b2728f44a1b7
Stats:     14 lines in 1 file changed: 2 ins; 4 del; 8 mod

8371320: runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails with unexpected amount for Java Heap reserved memory

Reviewed-by: azafari, jsikstro

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

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


More information about the hotspot-runtime-dev mailing list