On Thu, 23 Oct 2025 15:34:23 GMT, Shaojin Wen <[email protected]> wrote:

>> With the introduction of String.newStringWithLatin1Bytes, we can use it to 
>> simplify the toString methods of Integer and Long. By replacing the 
>> implementation that supports COMPACT_STRING = false with 
>> newStringWithLatin1Bytes, we gain the following benefits:
>> 1. Simplified implementation
>> 2. Strings with codeSize < 35 in Integer.toString(int) and 
>> Long.toString(long) can be inlined in C1, improving performance in early 
>> calls.
>
> Shaojin Wen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   clean up, from @rgiulietti

This cleanup looks good.

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

Marked as reviewed by rriggs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27929#pullrequestreview-3371089369

Reply via email to