JDK-6850957 : Honor -XX:OnOutOfMemoryError when array size exceeds VM limit
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.
"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.
Test program (does as part of Process test code in JDK - see CR 6850958):