equal
deleted
inserted
replaced
1519 |
1519 |
1520 // Note: os::abort() might be called very early during initialization, or |
1520 // Note: os::abort() might be called very early during initialization, or |
1521 // called from signal handler. Before adding something to os::abort(), make |
1521 // called from signal handler. Before adding something to os::abort(), make |
1522 // sure it is async-safe and can handle partially initialized VM. |
1522 // sure it is async-safe and can handle partially initialized VM. |
1523 void os::abort(bool dump_core) { |
1523 void os::abort(bool dump_core) { |
|
1524 abort(dump_core, NULL, NULL); |
|
1525 } |
|
1526 |
|
1527 void os::abort(bool dump_core, void* siginfo, void* context) { |
1524 os::shutdown(); |
1528 os::shutdown(); |
1525 if (dump_core) { |
1529 if (dump_core) { |
1526 #ifndef PRODUCT |
1530 #ifndef PRODUCT |
1527 fdStream out(defaultStream::output_fd()); |
1531 fdStream out(defaultStream::output_fd()); |
1528 out.print_raw("Current thread is "); |
1532 out.print_raw("Current thread is "); |