C2 fails to optimize away an array that does not escape

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 25
    • Component/s: hotspot

      The construction of temporarily arrays in `StringSupport` is not elided despite the fact arrays do not escape.

      See https://bugs.openjdk.org/browse/JDK-8362893 and https://github.com/openjdk/jdk/pull/26493 for details

            Assignee:
            Unassigned
            Reporter:
            Per-Ake Minborg
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: