mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8336856: Efficient hidden class-based string concatenation strategy
Co-authored-by: Claes Redestad <redestad@openjdk.org> Reviewed-by: redestad, liach
This commit is contained in:
parent
ddbc0b6a39
commit
5022109b2a
8 changed files with 1329 additions and 146 deletions
|
@ -2623,6 +2623,10 @@ public final class System {
|
|||
return StringConcatHelper.mix(lengthCoder, value);
|
||||
}
|
||||
|
||||
public Object stringConcat1(String[] constants) {
|
||||
return new StringConcatHelper.Concat1(constants);
|
||||
}
|
||||
|
||||
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