diff src/share/vm/runtime/java.hpp @ 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 6b648fefb395
children 9c2ecc2ffb12
line wrap: on
line diff
--- a/src/share/vm/runtime/java.hpp	Tue Jun 17 13:08:15 2008 -0700
+++ b/src/share/vm/runtime/java.hpp	Sun Jun 22 20:07:58 2008 -0700
@@ -37,7 +37,7 @@
 // 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();