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

Optimize arraycopy out for non escaping destination

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • None
    • hotspot
    • None
    • b66

        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.

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

                Created:
                Updated:
                Resolved: