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

aarch64: improve _unsafe_arraycopy stub routine

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      b115
    • CPU:
      aarch64
    • OS:
      linux

      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.

        Activity

        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/0d2b390d451a
        User: enevill
        Date: 2016-03-30 16:08:26 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/0d2b390d451a User: enevill Date: 2016-03-30 16:08:26 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/0d2b390d451a
        User: lana
        Date: 2016-04-20 17:53:12 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/0d2b390d451a User: lana Date: 2016-04-20 17:53:12 +0000

          People

          • Assignee:
            fyang Felix Yang
            Reporter:
            fyang Felix Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: