JDK 9 RFR of 8039474: sun.misc.CharacterDecoder.decodeBuffer should use getBytes(iso8859-1)

Ulf Zibis Ulf.Zibis at CoSoCo.de
Thu Apr 10 19:26:20 UTC 2014

Am 10.04.2014 17:20, schrieb Xueming Shen:
> Looks fine. Personally I would prefer the "canonicalized/real"  name "ISO-8859-1" though.

Yep, using the canonical name guarantees best performance for the charset lookup.

BTW, where are these links gone:
Bug 100092 -- Speed-up FastCharsetProvider <https://bugs.openjdk.java.net/show_bug.cgi?id=100092>
Bug 100095 -- Avoid 2-step lookup in sun.nio.cs charset providers 
Bug 100098 -- Make sun.nio.cs.* charset objects light-weight 


More information about the core-libs-dev mailing list