Tue, 23 Dec 2008 06:16:53 -0800
4997835: RFE: crash dump will only be created when running w/ -XX:+ShowMessageBoxOnError
Summary: Using UseOSErrorReporting will provide both an hs_err file and a crash dump or debug launch and works better.
Reviewed-by: xlu, acorn, poonam
src/share/vm/utilities/vmError.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/vm/utilities/vmError.cpp Sat Dec 20 00:45:18 2008 -0800 1.2 +++ b/src/share/vm/utilities/vmError.cpp Tue Dec 23 06:16:53 2008 -0800 1.3 @@ -674,6 +674,11 @@ 1.4 reset_signal_handlers(); 1.5 1.6 } else { 1.7 + // If UseOsErrorReporting we call this for each level of the call stack 1.8 + // while searching for the exception handler. Only the first level needs 1.9 + // to be reported. 1.10 + if (UseOSErrorReporting && log_done) return; 1.11 + 1.12 // This is not the first error, see if it happened in a different thread 1.13 // or in the same thread during error reporting. 1.14 if (first_error_tid != mytid) {