changeset 15742:b0ec3b170702

8007779: os::die() on solaris should generate core file Reviewed-by: dholmes, rbackman
author sla
date Mon, 18 Feb 2013 12:49:53 +0100
parents 55126c3ce8e9
children f708934a12e7 fd58c7e770b3
files hotspot/src/os/solaris/vm/os_solaris.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hotspot/src/os/solaris/vm/os_solaris.cpp	Mon Feb 18 10:43:07 2013 +0100
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp	Mon Feb 18 12:49:53 2013 +0100
@@ -1865,7 +1865,7 @@
 
 // Die immediately, no exit hook, no abort hook, no cleanup.
 void os::die() {
-  _exit(-1);
+  ::abort(); // dump core (for debugging)
 }
 
 // unused