tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
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
https://issues.apache.org/bugzilla/show_bug.cgi?id=51400

--- Comment #28 from Ismael Juma <mlists@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


Mime
View raw message