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

aarch64: generate_copy_longs calls align() incorrectly

    Details

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

      Description

      In method StubGenerator::generate_copy_longs(...) there are statements of the form

       __ align(6)

      The intention presumably being to align the code buffer on a 64 byte boundary, however the implementation of align(...) does

      void MacroAssembler::align(int modulus) {
        while (offset() % modulus != 0) nop();
      }

        Activity

        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/2c6e7fe05058
        User: enevill
        Date: 2016-02-09 18:26:23 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/2c6e7fe05058 User: enevill Date: 2016-02-09 18:26:23 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/2c6e7fe05058
        User: lana
        Date: 2016-02-24 20:06:28 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/2c6e7fe05058 User: lana Date: 2016-02-24 20:06:28 +0000

          People

          • Assignee:
            enevill Ed Nevill
            Reporter:
            enevill Ed Nevill
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: