equal
deleted
inserted
replaced
1476 } |
1476 } |
1477 |
1477 |
1478 // Note: os::abort() might be called very early during initialization, or |
1478 // Note: os::abort() might be called very early during initialization, or |
1479 // called from signal handler. Before adding something to os::abort(), make |
1479 // called from signal handler. Before adding something to os::abort(), make |
1480 // sure it is async-safe and can handle partially initialized VM. |
1480 // sure it is async-safe and can handle partially initialized VM. |
1481 void os::abort(bool dump_core) { |
|
1482 abort(dump_core, NULL, NULL); |
|
1483 } |
|
1484 |
|
1485 void os::abort(bool dump_core, void* siginfo, void* context) { |
1481 void os::abort(bool dump_core, void* siginfo, void* context) { |
1486 os::shutdown(); |
1482 os::shutdown(); |
1487 if (dump_core) { |
1483 if (dump_core) { |
1488 #ifndef PRODUCT |
1484 #ifndef PRODUCT |
1489 fdStream out(defaultStream::output_fd()); |
1485 fdStream out(defaultStream::output_fd()); |