mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
6694099: Hotspot vm_exit_out_of_memory should dump core
This fix enables the generation of core file when process runs out of C-heap. Reviewed-by: sbohne
This commit is contained in:
parent
69eb2b72c6
commit
1f819855d5
4 changed files with 16 additions and 8 deletions
|
@ -631,7 +631,7 @@ JNI_ENTRY(void, jni_FatalError(JNIEnv *env, const char *msg))
|
|||
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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue