8080718: Make -XX:CreateCoredumpOnCrash control core dumping in all cases

Reviewed-by: sla, dholmes, gtriantafill
This commit is contained in:
Christian Tornqvist 2015-06-01 14:02:59 -07:00
parent 3c90d44e1a
commit 665eee5efe
6 changed files with 4 additions and 20 deletions

View file

@ -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) {