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

Replace concat String to append in StringBuilder parameters

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Resolved In Build:
      b43

      Backports

        Description

        Motivation: Make another append instead of concat String inside of append parameter in StringBuilder class. To avoid an extra StringBuilder created for the purpose of concatenating. So it will save memory and will faster than concat String.

        The bug is created for code change discussions in http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-August/028142.html. The contributor is Otávio Gonçalves de Santana.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                weijun Weijun Wang
                Reporter:
                weijun Weijun Wang
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: