mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8224986: (str) optimize StringBuilder.append(CharSequence, int, int) for String arguments
Reviewed-by: jlaskey, rriggs
This commit is contained in:
parent
25b1131e33
commit
fd7c38aa35
3 changed files with 138 additions and 6 deletions
|
@ -3386,7 +3386,7 @@ public final class String
|
|||
return value;
|
||||
}
|
||||
|
||||
private boolean isLatin1() {
|
||||
boolean isLatin1() {
|
||||
return COMPACT_STRINGS && coder == LATIN1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue