Integrated: 8364781: Re-examine DigitList digits resizing during parsing

Justin Lu jlu at openjdk.org
Wed Aug 13 20:47:22 UTC 2025


On Fri, 8 Aug 2025 20:46:34 GMT, Justin Lu <jlu at openjdk.org> wrote:

> This PR changes the DigitList resizing from adding increments of 100 to a doubling resizing approach. This helps with performance of larger String values during `DecimalFormat` parsing. See the comment on the associated JBS issue for further detail.

This pull request has now been integrated.

Changeset: 96603200
Author:    Justin Lu <jlu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/9660320041d0ba0f22ebe074a64472557b85a24c
Stats:     2 lines in 1 file changed: 1 ins; 0 del; 1 mod

8364781: Re-examine DigitList digits resizing during parsing

Reviewed-by: liach, naoto

-------------

PR: https://git.openjdk.org/jdk/pull/26705


More information about the core-libs-dev mailing list