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

aarch64: improve _unsafe_arraycopy stub routine

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 9
    • None
    • hotspot
    • None
    • 9
    • b115
    • aarch64
    • linux

    Backports

      Description

        Currently, the aarch64 port simply implements this stub routine by calling StubRoutines::_jbyte_arraycopy. Just like x86 & sparc port does, we can make this faster by checking the alignment of the src, dest, and count, and call some better arraycopy stubs, (say StubRoutines::_jshort_arraycopy). I see some 1%+ performance improvement on Spark Terasort benchmark by doing this.

        BTW: we are missing _unsafe_arraycopy and _generic_arraycopy stubs for jdk8u, I would like to backport them from jdk9 after this improvement is approved and merged.

        Attachments

          Issue Links

            Activity

              People

                fyang Fei Yang
                fyang Fei Yang
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: