mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8184947: ZipCoder performance improvements
Reviewed-by: martin, redestad
This commit is contained in:
parent
1ae8f54835
commit
4f0ea9242f
9 changed files with 620 additions and 881 deletions
|
@ -3046,6 +3046,10 @@ public final class String
|
|||
return COMPACT_STRINGS ? coder : UTF16;
|
||||
}
|
||||
|
||||
byte[] value() {
|
||||
return value;
|
||||
}
|
||||
|
||||
private boolean isLatin1() {
|
||||
return COMPACT_STRINGS && coder == LATIN1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue