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

AArch64: Set relocInfo::offset_unit to 4

XMLWordPrintable

    • b16
    • aarch64

        AArch64 instruction size is 4 bytes. This means instruction addresses are a multiple of 4. So is a difference between addresses. `relocInfo::addr_offset()` is a difference needed to add to the address defined by the previous relocInfo to get a new address. So it is a multiple of 4. Based on this we can set relocInfo::offset_unit to 4. This will increase the range of offsets and reduce a number of filler records.

              eastigeevich Evgeny Astigeevich
              eastigeevich Evgeny Astigeevich
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: