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

aarch64: generate_copy_longs calls align() incorrectly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9
    • 9
    • hotspot
    • None
    • b107
    • aarch64
    • linux

    Backports

      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

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: