RFR: 8364741: [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly [v2]

Paul Hübner phubner at openjdk.org
Tue Nov 4 08:34:27 UTC 2025


On Mon, 3 Nov 2025 10:34:07 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

>> When running the test runtime/ErrorHandling/PrintVMInfoAtExitTest.java with asan enabled binaries on Linux x86_64, we fail with this error :
>> `
>> java.lang.RuntimeException: 'Java Heap (reserved=65536KB, committed=65536KB)' missing from stdout/stderr`
>> 
>> instead we see in the log e.g. :
>> `Java Heap (reserved=67584KB, committed=65536KB)`
>> 
>> so it looks like adding asan to the build changes those memory values a bit.
>> We should disable this test when using asan enabled binaries .
>
> Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Disable only little test part in case of asan

Looks good, thanks for incorporating the whitebox.

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

Marked as reviewed by phubner (Author).

PR Review: https://git.openjdk.org/jdk/pull/28055#pullrequestreview-3414725573


More information about the hotspot-runtime-dev mailing list