JDK7 b110 REGRESSION: heap dump ALWAYS crashes the JVM
The built-in heap dumper always crashes JDK b110.
The problem is always reproducible (see steps below).
As far as I remember, there was no problem with b107.
How to reproduce (tested on Windows XP and Vista):
- start /bin/jconsole.exe
- connect to itself
- MBeans -> com.sun.management.HotSpotDiagnostic -> Operations -> dumpHeap
=> Windows will show an error dialog which offers to close the crashed application
No hs_err_*.log is created.
This is not a jconsole-specific problem. Same crash when using HotSpotDiagnostic programmatically, or using jmap -dump
It's interesting that the dump file seems to be successfully created before the crash happens.