<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
Looks like a straight-forward cleanup.<br>
<br>
Thanks, Roger<br>
<br>
<div class="moz-cite-prefix">On 10/23/25 9:56 AM, wenshao wrote:<br>
</div>
<blockquote type="cite" cite="mid:bd91aeaf-ff62-4e50-a991-0bb8b34e3d2e.shaojin.wensj@alibaba-inc.com">
<div class="__aliyun_email_body_block">
<div style="font-family: Tahoma, Arial, STHeitiSC-Light, SimSun">
<div style="clear: both;"><span>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:</span>
<div style="clear: both;">1. Simplified implementation</div>
<span>2. Strings with codeSize < 35 in
Integer.toString(int) and Long.toString(long) can be
inlined in C1, improving performance in early calls.</span></div>
<div style="clear: both;"><span><br>
</span></div>
<div style="clear: both;"><span><span>To make it easier to
understand my proposal, I created a draft PR and hope to
get your feedback. <span><a href="https://github.com/openjdk/jdk/pull/27929" target="_blank" moz-do-not-send="true" class="moz-txt-link-freetext">https://github.com/openjdk/jdk/pull/27929</a></span></span></span></div>
<div style="clear: both;"><span><span><br>
</span></span></div>
<div style="clear: both;"><span><span><br>
</span></span></div>
<div style="clear: both;"><span><span>-</span></span></div>
<div style="clear: both;"><span><span>Shaojin Wen</span></span></div>
</div>
</div>
</blockquote>
<br>
</body>
</html>