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

Replace concat String to append in StringBuilder parameters

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • None
    • core-libs
    • 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

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

                Dates

                  Created:
                  Updated:
                  Resolved: