tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 51400] Use of "new String(byte[] b, String enc)" hits Sun JVM bottleneck
Date Tue, 19 Jul 2011 15:56:24 GMT

--- Comment #28 from Ismael Juma <> 2011-07-19 15:56:24 UTC ---
Note that there have been changes in this area in Java 7:

"Using Charset as the parameter does not bring you any performance benefit (in
fact it's slower and bloat) in most use scenarios, use it with caution."

The blog above talks about single-byte encodings, but there has been a
follow-up commit for UTF-8 earlier this year.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message