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

(str) Optimize StringBuilder.append(null)

    XMLWordPrintable

Details

    • Enhancement
    • Status: Closed
    • P4
    • Resolution: Fixed
    • None
    • 8
    • core-libs
    • b86
    • Not verified

    Description

      Martin Buchholz <martinrb@google.com> writes:

      One of our users noticed that a lot of CPU time was being spent in StringBuilder.append(null).
      We can apply the previously proven optimization that improves it by a factor of 2 on microbenchmarks.

      Attachments

        Issue Links

          Activity

            People

              mduigou Mike Duigou
              mduigou Mike Duigou
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: