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

Afshin Zafari azafari at openjdk.org
Fri Nov 7 11:23:01 UTC 2025


On Fri, 7 Nov 2025 11:15:11 GMT, Paul Hübner <phubner at openjdk.org> wrote:

> Would it make sense to keep `reserved < committed` as a sanity check? Would you also suggest checking that `|reserved - committed| <= some_upper_bound`?

Sorry my mistake, `reserved >= committed` should be always true.
For this specific test we only know that the amount has to be 64M. There is no general/global `some_upper_bound`.

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

PR Comment: https://git.openjdk.org/jdk/pull/28179#issuecomment-3501967407


More information about the hotspot-runtime-dev mailing list