You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2011/07/19 17:56:24 UTC
DO NOT REPLY [Bug 51400] Use of "new String(byte[] b, String enc)"
hits Sun JVM bottleneck
https://issues.apache.org/bugzilla/show_bug.cgi?id=51400
--- Comment #28 from Ismael Juma <ml...@juma.me.uk> 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."
http://blogs.oracle.com/xuemingshen/entry/faster_new_string_bytes_cs
The blog above talks about single-byte encodings, but there has been a
follow-up commit for UTF-8 earlier this year.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org