mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8337167: StringSize deduplication
Reviewed-by: liach, rriggs
This commit is contained in:
parent
487450cb5e
commit
7f11935461
8 changed files with 40 additions and 95 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue