8337167: StringSize deduplication

Reviewed-by: liach, rriggs
This commit is contained in:
Shaojin Wen 2024-07-26 07:08:33 +00:00 committed by Chen Liang
parent 487450cb5e
commit 7f11935461
8 changed files with 40 additions and 95 deletions

View file

@ -2623,10 +2623,6 @@ public final class System {
return StringConcatHelper.mix(lengthCoder, value);
}
public int stringSize(long i) {
return Long.stringSize(i);
}
public int getCharsLatin1(long i, int index, byte[] buf) {
return StringLatin1.getChars(i, index, buf);
}