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

AArch64: fix virtual threads with -XX:UseBranchProtection=pac-ret

    XMLWordPrintable

Details

    • b17
    • aarch64

    Description

      The continuation freeze/thaw mechanism introduced with Loom moves the thread stack in memory. However when PAC is enabled on supported AArch64 CPUs, the saved LR on the stack contains a pointer authentication code signed with the stack pointer at the time the frame was created. After relocating a frame, we need to re-sign the LR with the new stack pointer.

      Attachments

        Issue Links

          Activity

            People

              haosun Hao Sun (Inactive)
              ngasson Nick Gasson
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: