Mercurial > hg > truffle
diff src/share/vm/prims/jni.cpp @ 227:8d852b81e775
6694099: Hotspot vm_exit_out_of_memory should dump core
Summary: This fix enables the generation of core file when process runs out of C-heap.
Reviewed-by: sbohne
author | poonam |
---|---|
date | Sun, 22 Jun 2008 20:07:58 -0700 |
parents | ba764ed4b6f2 |
children | 9c2ecc2ffb12 |
line wrap: on
line diff
--- a/src/share/vm/prims/jni.cpp Tue Jun 17 13:08:15 2008 -0700 +++ b/src/share/vm/prims/jni.cpp Sun Jun 22 20:07:58 2008 -0700 @@ -631,7 +631,7 @@ DTRACE_PROBE2(hotspot_jni, FatalError__entry, env, msg); tty->print_cr("FATAL ERROR in native method: %s", msg); thread->print_stack(); - os::abort(false); // Prevent core dump, causes a jck failure. + os::abort(); // Dump core and abort JNI_END