Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7183053

Optimize DoubleByte charset for String.getBytes()/new String(byte[])

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b49
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      To implement sun.nio.cs.ArrayDecoder/ArrayEncoder for sun.nio.cs.ext.DoubleByte based double-byte charsets. All single-byte charsets and UTF-8 charset have implemented the
      ArrayDecoder/ArrayEncoder in jdk7, which result in huge performance improvment for String.getByte() and new String(byte[]) operations. See http://blogs.sun.com/xuemingshen/entry/faster_new_string_bytes_cs for details.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sherman Xueming Shen
                Reporter:
                sherman Xueming Shen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: