RFR: 8170977: SparseArrayData should not grow its underlying dense array data
Attila Szegedi
szegedia at gmail.com
Thu Dec 22 15:30:41 UTC 2016
+1
> On 22 Dec 2016, at 16:15, Hannes Wallnöfer <hannes.wallnoefer at oracle.com> wrote:
>
> Please review:
>
> Bug: https://bugs.openjdk.java.net/browse/JDK-8170977
> Webrev: http://cr.openjdk.java.net/~hannesw/8170977/webrev/
>
> With this we keep whatever is already allocated as dense array but do not grow it up to the dense array length limit internally. I also reduced the max dense array length as with 1 million dense elements we still risk to be very wasteful with memory.
>
> Thanks,
> Hannes
More information about the nashorn-dev
mailing list