RFR: 8364741: [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly [v2]
Joel Sikström
jsikstro at openjdk.org
Tue Nov 4 09:36:08 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.
-------------
Marked as reviewed by jsikstro (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/28055#pullrequestreview-3415112379
More information about the hotspot-runtime-dev
mailing list