Integrated: 8337167: StringSize deduplication

Shaojin Wen duke at openjdk.org
Fri Jul 26 07:11:39 UTC 2024


On Thu, 25 Jul 2024 05:30:34 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> Integer.stringSize and Long.stringSize are used not only in java.lang, but also in other places. We put stringSize in DecimalDigits to reduce duplicate code and the use of JLA.

This pull request has now been integrated.

Changeset: 7f119354
Author:    Shaojin Wen <shaojin.wensj at alibaba-inc.com>
Committer: Chen Liang <liach at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/7f11935461a6ff1ef0fac800fb4264a519e21061
Stats:     127 lines in 8 files changed: 32 ins; 87 del; 8 mod

8337167: StringSize deduplication

Reviewed-by: liach, rriggs

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

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


More information about the core-libs-dev mailing list