RFR (S) 8015329: Print reason for failed MiniDumpWriteDump() call

Christian Tornqvist christian.tornqvist at oracle.com
Thu May 23 15:54:48 PDT 2013


Hi everyone,

 

Please review this small change, we now print the reason for a failed call
to MiniDumpWriteDump(). Also changed so that we now produce minidumps by
default on client versions of Windows when running with a debug build of the
JVM. Note that it is still possible to turn this off by
-XX:-CreateMinidumpOnCrash 

 

Tested the change by failing the call to MiniDumpWriteDump in a debugger and
manually verified the output. Verified the minidump on debug builds change
by running:

 

java -XX:ErrorHandlerTest=9 -version

java -XX:-CreateMinidumpOnCrash -XX:ErrorHandlerTest=9 -version 

java -XX:+CreateMinidumpOnCrash -XX:ErrorHandlerTest=9 -version   

 

Webrev: http://cr.openjdk.java.net/~ctornqvi/webrev/8015329/webrev.00/

Bug (link not yet visible at time of posting):
<http://bugs.sun.com/view_bug.do?bug_id=8015329>
http://bugs.sun.com/view_bug.do?bug_id=8015329

 

Thanks,

Christian

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20130523/0fa83534/attachment.html 


More information about the hotspot-runtime-dev mailing list