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

Matthias Baesken mbaesken at openjdk.org
Mon Nov 3 10:34:07 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 .

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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28055/files
  - new: https://git.openjdk.org/jdk/pull/28055/files/9ef0c913..639fcf1e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=28055&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=28055&range=00-01

  Stats: 14 lines in 1 file changed: 11 ins; 1 del; 2 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