changeset 8066:b5e3ec9c69fa

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 f82bcc429e8c
children 5cd2fac2ae70 56c364daccc3
files src/os/solaris/vm/os_solaris.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/os/solaris/vm/os_solaris.cpp	Mon Feb 18 10:43:07 2013 +0100
+++ b/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