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

@ -775,6 +775,10 @@ void os::start_thread(Thread* thread) {
pd_start_thread(thread);
}
void os::abort(bool dump_core) {
abort(dump_core && CreateCoredumpOnCrash, NULL, NULL);
}
//---------------------------------------------------------------------------
// Helper functions for fatal error handler