United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6850957 Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
JDK-6850957 : Honor -XX:OnOutOfMemoryError when array size exceeds VM limit

Details
Type:
Bug
Submit Date:
2009-06-13
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:
hs16 (b08)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
This is an internal bug report for the HotSpot side of:
https://bugs.openjdk.java.net/show_bug.cgi?id=100067

                                    

Comments
EVALUATION

See discussion:

http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2009-June/thread.html

"JVMTI OOM handling when arrays / objects are too large"

The end result is not modifying JVMTI at all hence the move to Hotspot-runtime.
This simply causes OnOutOfMemoryError handling to be applied when OOME is thrown due to array size limits being exceeded.

webrev:

http://cr.openjdk.java.net/~martin/OnOutOfMemoryError/

Test program (does as part of Process test code in JDK - see CR 6850958):

http://cr.openjdk.java.net/~martin/OnOutOfMemoryError-test/
                                     
2009-06-29
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/1413494da700
                                     
2009-07-16



Hardware and Software, Engineered to Work Together