mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6636323: Optimize handling of builtin charsets
6636319: Encoders should implement isLegalReplacement(byte[] repl) Optimized new String(byte[], cs/csn) and String.getBytes(cs/csn) for speed and memory consumption in singlebyte case. Reviewed-by: alanb
This commit is contained in:
parent
ffa70f7fdd
commit
3f0b988cfc
10 changed files with 711 additions and 73 deletions
|
@ -220,6 +220,8 @@ FILES_src = \
|
|||
sun/nio/ch/Util.java \
|
||||
\
|
||||
sun/nio/cs/AbstractCharsetProvider.java \
|
||||
sun/nio/cs/ArrayDecoder.java \
|
||||
sun/nio/cs/ArrayEncoder.java \
|
||||
sun/nio/cs/FastCharsetProvider.java \
|
||||
sun/nio/cs/HistoricallyNamedCharset.java \
|
||||
sun/nio/cs/ISO_8859_1.java \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue