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

Simplify String concat constant folding

    XMLWordPrintable

Details

    Description

      While JDK-8222852 greatly reduced possible MH tree shapes, it added some accidental complexity to prependers.

      We could simplify all the prependers (and some of the setup logic) by dealing with the final constant in the newArray combinator we fold in after we're done adding prependers. This trades a bit of added complexity in one place for a reduction in complexity in several other places, and offers a small bootstrap improvement overall.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: