Posted by antonkatilin
on September 21, 2010 at 4:31 PM PDT
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.