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

java.lang.StringCoding should use inline/primitive classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: repo-valhalla
    • Fix Version/s: tbd
    • Component/s: core-libs
    • Labels:

      Description

      The StringCoding implementation class uses a few simple holder classes to help decode byte arrays into Strings.
      Instances are retained in thread locals to improve performance and reduce memory usage.

      Changing to primitive (inline) classes may help memory usage and performance and reduce a dependency on thread locals.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rriggs Roger Riggs
              Reporter:
              rriggs Roger Riggs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: