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

Optimize String concatenation setup when using primitive operands

    XMLWordPrintable

Details

    Description

      The current default String concatenation strategy adds in MHs to calculate the expected String coder even for primitives that by definition won't mutate the coder value.

      Avoiding calculating and folding in a new coder value and instead re-using the current coder value reduces the number of intermediate MHs generated for string concatenation expressions with one or more primitive arguments, while not affecting peak performance characteristics negatively.

      Attachments

        Issue Links

          Activity

            People

              redestad Claes Redestad
              redestad Claes Redestad
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: