Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P2
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: hotspot
-
Labels:
-
Subcomponent:
Description
SHORT SUMMARY:
Header size for arrays counted in bytes instead of words.
PRESENT SINCE:
7u4
DESCRIPTION:
Header size is calculated incorrectly and that cause
"java.lang.OutOfMemoryError: Requested array size exceeds VM limit".
Attachments
Issue Links
- duplicates
-
JDK-8227674 ArrayList.ensureCapacity() throws OutOfMemoryError
-
- Closed
-
-
JDK-8149330 Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary
-
- Resolved
-
- relates to
-
JDK-8059914 Cannot allocate array with Integer.MAX_VALUE elements
-
- Closed
-