You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alin Vasile (JIRA)" <ji...@apache.org> on 2012/11/27 11:31:58 UTC

[jira] [Updated] (LANG-707) Add methods to avoid Sun JVM synchronisation overhead in new String(byte[] b, String enc)

     [ https://issues.apache.org/jira/browse/LANG-707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alin Vasile updated LANG-707:
-----------------------------

    Attachment: LANG-707.diff

I compiled the final patch from https://issues.apache.org/bugzilla/show_bug.cgi?id=51400 and made the attached patch
                
> Add methods to avoid Sun JVM synchronisation overhead in new String(byte[] b, String enc)
> -----------------------------------------------------------------------------------------
>
>                 Key: LANG-707
>                 URL: https://issues.apache.org/jira/browse/LANG-707
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: General
>         Environment: https://issues.apache.org/bugzilla/show_bug.cgi?id=51400
>            Reporter: Sebb
>             Fix For: 3.x
>
>         Attachments: LANG-707.diff
>
>
> According to Tomcat bug 51400, the use of new String(byte[] b, String enc) can fall foul of a Sun Java synchronisation bottleneck.
> Might be useful to add the code workround to Commons Lang.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira