8007779: os::die() on solaris should generate core file
authorsla
Mon, 18 Feb 2013 12:49:53 +0100
changeset 15742 b0ec3b170702
parent 15741 55126c3ce8e9
child 15743 f708934a12e7
child 15744 fd58c7e770b3
8007779: os::die() on solaris should generate core file Reviewed-by: dholmes, rbackman
hotspot/src/os/solaris/vm/os_solaris.cpp
--- 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