mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-25 22:04:51 +02:00
8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases
Reviewed-by: sla, dholmes, gtriantafill
This commit is contained in:
parent
3c90d44e1a
commit
665eee5efe
6 changed files with 4 additions and 20 deletions
|
@ -1478,10 +1478,6 @@ void os::shutdown() {
|
|||
// Note: os::abort() might be called very early during initialization, or
|
||||
// called from signal handler. Before adding something to os::abort(), make
|
||||
// sure it is async-safe and can handle partially initialized VM.
|
||||
void os::abort(bool dump_core) {
|
||||
abort(dump_core, NULL, NULL);
|
||||
}
|
||||
|
||||
void os::abort(bool dump_core, void* siginfo, void* context) {
|
||||
os::shutdown();
|
||||
if (dump_core) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue