In JDK-8364741, this test was failing at ASAN builds due to some memory adjustments done by GC which led to larger amounts of reserved memory.
The test fails even in non-ASAN build here.
stdout :
Native Memory Tracking:
(Omitting categories weighting less than 1KB)
Total: reserved=747884KB, committed=144492KB
malloc: 21628KB #19213, peak=21345KB #19178
mmap: reserved=726256KB, committed=122864KB
- Java Heap (reserved=73728KB, committed=65536KB)
(mmap: reserved=73728KB, committed=65536KB, at peak)
error:
java.lang.RuntimeException: 'Java Heap (reserved=65536KB, committed=65536KB)' missing from stdout/stderr
The test fails even in non-ASAN build here.
stdout :
Native Memory Tracking:
(Omitting categories weighting less than 1KB)
Total: reserved=747884KB, committed=144492KB
malloc: 21628KB #19213, peak=21345KB #19178
mmap: reserved=726256KB, committed=122864KB
- Java Heap (reserved=73728KB, committed=65536KB)
(mmap: reserved=73728KB, committed=65536KB, at peak)
error:
java.lang.RuntimeException: 'Java Heap (reserved=65536KB, committed=65536KB)' missing from stdout/stderr
- relates to
-
JDK-8364741 [asan] runtime/ErrorHandling/PrintVMInfoAtExitTest.java fails because output differs slightly
-
- Resolved
-
- links to
-
Commit(master)
openjdk/jdk/81e0c87f
-
Review(master)
openjdk/jdk/28179