Integrated: 8364741: [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly
Matthias Baesken
mbaesken at openjdk.org
Tue Nov 4 09:57:48 UTC 2025
On Thu, 30 Oct 2025 09:24:16 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 .
This pull request has now been integrated.
Changeset: a840dc22
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/a840dc22c575b5d2b5b6017a536a6541fc1f0a44
Stats: 13 lines in 1 file changed: 11 ins; 0 del; 2 mod
8364741: [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly
Reviewed-by: syan, phubner, jsikstro
-------------
PR: https://git.openjdk.org/jdk/pull/28055
More information about the hotspot-runtime-dev
mailing list