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

Optimize arraycopy out for non escaping destination

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b66

      Backports

        Description

        int[] dst = new int[];
        System.arraycopy(src, srcoff, dst, dstoff, len);

        The arraycopy can be optimized out if dst is not escaping in some cases.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                roland Roland Westrelin
                Reporter:
                roland Roland Westrelin
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: