comparison src/share/vm/utilities/vmError.cpp @ 511:dabd8d202164

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
author coleenp
date Tue, 23 Dec 2008 06:16:53 -0800
parents 3ad2b8576c4a
children 0fbdb4381b99 dbbe28fc66b5
comparison
equal deleted inserted replaced
500:ca7d48236048 511:dabd8d202164
672 // reset signal handlers or exception filter; make sure recursive crashes 672 // reset signal handlers or exception filter; make sure recursive crashes
673 // are handled properly. 673 // are handled properly.
674 reset_signal_handlers(); 674 reset_signal_handlers();
675 675
676 } else { 676 } else {
677 // If UseOsErrorReporting we call this for each level of the call stack
678 // while searching for the exception handler. Only the first level needs
679 // to be reported.
680 if (UseOSErrorReporting && log_done) return;
681
677 // This is not the first error, see if it happened in a different thread 682 // This is not the first error, see if it happened in a different thread
678 // or in the same thread during error reporting. 683 // or in the same thread during error reporting.
679 if (first_error_tid != mytid) { 684 if (first_error_tid != mytid) {
680 jio_snprintf(buffer, sizeof(buffer), 685 jio_snprintf(buffer, sizeof(buffer),
681 "[thread " INT64_FORMAT " also had an error]", 686 "[thread " INT64_FORMAT " also had an error]",