-
Enhancement
-
Resolution: Duplicate
-
P4
-
None
-
1.4.1, 5.0
-
itanium
-
linux, windows_2000
Name: jl125535 Date: 06/18/2003
A DESCRIPTION OF THE PROBLEM :
Array indexes are int-based! You cannot allocate an array
of any type that has more than 2^31 objects. (See the
Java Language Specification, Section 10.4 at
http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html#25566)
API: Every Collection API can carry only 2^31 objects.
This RFE will also affect the JVM-Spec, 'cause the JVM can
handle only int-based array-indexes, as I know.
This is not covered by the current 64-Bit Version of the
runtime, because these versions give only support for the
memory management of the runtime itself - not for the
language constructs directly.
This is maybe an issue for the JCP ?
CUSTOMER WORKAROUND :
An array of arrays.
But this descreases the performance by the factor of 2 or more.
(Review ID: 180497)
======================================================================
A DESCRIPTION OF THE PROBLEM :
Array indexes are int-based! You cannot allocate an array
of any type that has more than 2^31 objects. (See the
Java Language Specification, Section 10.4 at
http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html#25566)
API: Every Collection API can carry only 2^31 objects.
This RFE will also affect the JVM-Spec, 'cause the JVM can
handle only int-based array-indexes, as I know.
This is not covered by the current 64-Bit Version of the
runtime, because these versions give only support for the
memory management of the runtime itself - not for the
language constructs directly.
This is maybe an issue for the JCP ?
CUSTOMER WORKAROUND :
An array of arrays.
But this descreases the performance by the factor of 2 or more.
(Review ID: 180497)
======================================================================
- duplicates
-
JDK-6292967 (spec) Unable to allocate large memory arrays on 64 bit linux
-
- Closed
-
-
JDK-8061420 64 bit pointers needed
-
- Closed
-
- relates to
-
JDK-6460346 Can't serialize an object graph with more than 184,549,375 elements.
-
- Closed
-