<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">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>