[8u-dev] Request for REVIEW and APPROVAL to backport: 8149330: Capacity of StringBuilder should not get close to Integer.MAX_VALUE unless necessary
martinrb at google.com
Wed Mar 2 20:20:04 UTC 2016
On Wed, Mar 2, 2016 at 9:29 AM, Ivan Gerasimov
<ivan.gerasimov at oracle.com> wrote:
> I'm seeking for approval to backport this fix into jdk8u-dev.
> Comparing to Jdk9, the patch had to be changed mainly due to compact string
> support introduced in jdk9.
> However, the fix is essentially the same: we just avoid getting too close to
> Integer.MAX_VALUE when doing reallocations unless explicitly required.
> Would you please help review it?
> Bug: https://bugs.openjdk.java.net/browse/JDK-8149330
> Jdk9 change: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/123593aacb48
> Jdk9 review:
> Jdk8 webrev: http://cr.openjdk.java.net/~igerasim/8149330/04/webrev/
> Sincerely yours,
More information about the core-libs-dev