mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-23 12:34:32 +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
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue