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:
Poonam Bajaj 2008-06-22 20:07:58 -07:00
parent 69eb2b72c6
commit 1f819855d5
4 changed files with 16 additions and 8 deletions

View file

@ -37,7 +37,7 @@ extern void vm_direct_exit(int code);
// Shutdown the VM but do not exit the process
extern void vm_shutdown();
// Shutdown the VM and abort the process
extern void vm_abort();
extern void vm_abort(bool dump_core=true);
// Trigger any necessary notification of the VM being shutdown
extern void notify_vm_shutdown();