Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-707

Add methods to avoid Sun JVM synchronisation overhead in new String(byte[] b, String enc)

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        1. LANG-707.diff
          6 kB
          Alin Vasile

        Activity

          People

            Unassigned Unassigned
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: