mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 14:24:46 +02:00
4997835: RFE: crash dump will only be created when running w/ -XX:+ShowMessageBoxOnError
Using UseOSErrorReporting will provide both an hs_err file and a crash dump or debug launch and works better. Reviewed-by: xlu, acorn, poonam
This commit is contained in:
parent
34c4172bfe
commit
d80f5c0265
1 changed files with 5 additions and 0 deletions
|
@ -674,6 +674,11 @@ void VMError::report_and_die() {
|
|||
reset_signal_handlers();
|
||||
|
||||
} else {
|
||||
// If UseOsErrorReporting we call this for each level of the call stack
|
||||
// while searching for the exception handler. Only the first level needs
|
||||
// to be reported.
|
||||
if (UseOSErrorReporting && log_done) return;
|
||||
|
||||
// This is not the first error, see if it happened in a different thread
|
||||
// or in the same thread during error reporting.
|
||||
if (first_error_tid != mytid) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue