RFR 8223593 : Refactor code for reallocating storage
ivan.gerasimov at oracle.com
Thu May 9 01:50:25 UTC 2019
Jdk has several places with similar logic: an array needs to be
reallocated (by at least some defined amount), taking into account the
maximum allowed size of arrays.
There's clearly an opportunity for refactoring, so it is proposed to
introduce a dedicated utility method for calculating the best new size
of an array.
Would you please help review this enhancement?
Mach5 job ran fine.
Thanks in advance!
With kind regards,
More information about the core-libs-dev