JDK-6850957 : Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2009-06-13
  • Updated: 2011-03-08
  • Resolved: 2011-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u18Fixed 7Fixed hs16Fixed
Related Reports
Relates :  
This is an internal bug report for the HotSpot side of:

EVALUATION http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/1413494da700

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/