United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6694099 Hotspot vm_exit_out_of_memory should dump core
JDK-6694099 : Hotspot vm_exit_out_of_memory should dump core

Details
Type:
Enhancement
Submit Date:
2008-04-25
Status:
Closed
Updated Date:
2012-10-13
Project Name:
JDK
Resolved Date:
2008-07-15
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs12
Fixed Versions:
hs14 (b01)

Related Reports
Backport:
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
The purpose of this RFE is to improve the ability to debug situations where the VM exits unexpectedly via one of the vm_abort/vm_exit code paths.  In some cases we don't dump core where arguably we should.

1. By default, dump core for any abort/C Heap OOM *except* "simple" failures during startup (vm_exit_during_initialization).
2. Revisit jni_FatalError: os::abort(false) (see comments).
3. Consider VM options to change the default behaviors (may not be needed.)
4. Ensure dumping core implies creating hs_err log as well (this may already be true in all cases.)

                                    

Comments
EVALUATION

The fix will enable dumping of core in product mode as well when VM runs out of C-heap.
                                     
2008-05-30



Hardware and Software, Engineered to Work Together