8224793: os::die() does not honor CreateCoredumpOnCrash option

Reviewed-by: kbarrett, dholmes, stuefe
This commit is contained in:
Daniel D. Daugherty 2019-06-05 14:01:01 -04:00
parent c31f5bfa4a
commit 09b642e937
5 changed files with 37 additions and 5 deletions

View file

@ -518,6 +518,10 @@ class os: AllStatic {
static void abort(bool dump_core = true);
// Die immediately, no exit hook, no abort hook, no cleanup.
// Dump a core file, if possible, for debugging. os::abort() is the
// preferred means to abort the VM on error. os::die() should only
// be called if something has gone badly wrong. CreateCoredumpOnCrash
// is intentionally not honored by this function.
static void die();
// File i/o operations