RFR (XS) 8148813 - Windows os::check_heap needs more information

Markus Gronlund markus.gronlund at oracle.com
Wed Jun 22 08:52:23 UTC 2016


Hi Ioi,

Looks good - thanks for adding some debug code so we can try to figure out what is up with HeapWalk.

Markus

-----Original Message-----
From: Ioi Lam 
Sent: den 22 juni 2016 06:52
To: hotspot-runtime-dev
Subject: RFR (XS) 8148813 - Windows os::check_heap needs more information

HI,

Please review a small Windows fix:

https://bugs.openjdk.java.net/browse/JDK-8148813
http://cr.openjdk.java.net/~iklam/jdk9/8148813_windows_check_heap.v01/

We have seen strange heap corruption fatal errors that produced mdmp files (windows crash dumps), e.g. https://bugs.openjdk.java.net/browse/JDK-8147481

However, when we load these mdmp files in WinDBG, "!heap -triage"
shows no heap corruption.

These are probably spurious errors reported by HeapWalk. To properly diagnose such errors, this patch saves a few of the last seen PROCESS_HEAP_ENTRY's into a ring buffer, which can later be examined with a debugger.

Thanks
- Ioi




More information about the hotspot-runtime-dev mailing list