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

RISC-V: RVC: Fix a potential alignment issue and add more alignment assertions for the patchable calls/nops

    XMLWordPrintable

Details

    • 19
    • b17
    • riscv
    • linux

    Backports

      Description

        With RVC turning on, we must carefully keep all runtime-patchable instructions aligned. Code is running at full speed, when patching unaligned instructions spanning cache lines, concurrency issues may occur. This patch fixes a potential alignment issue of the patchable nop after MachUEPNode, with adding some strong alignment assertions as well.

        Attachments

          Issue Links

            Activity

              People

                xlinzheng Xiaolin Zheng
                xlinzheng Xiaolin Zheng
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: