RFR: 8364741: [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly
Matthias Baesken
mbaesken at openjdk.org
Thu Oct 30 09:32:21 UTC 2025
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 .
-------------
Commit messages:
- JDK-8364741
Changes: https://git.openjdk.org/jdk/pull/28055/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28055&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8364741
Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/28055.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/28055/head:pull/28055
PR: https://git.openjdk.org/jdk/pull/28055
More information about the hotspot-runtime-dev
mailing list