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();
      }

        Attachments

          Activity

            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: