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

AArch64: Clean up stack and register handling in interpreter

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 20
    • 20
    • hotspot
    • b05
    • aarch64

    Description

      There are several places in the interpreter that could be improved.

      1. We use r13 to pass the caller's SP to a callee through adapters. r13 is not a callee-saved register in the native ABI, so this causes some complications. Use a callee-saved register.
      2. We frequently recalculate the location where the native SP needs to go. We have a spare slot in the interpreter frame, so we should calculate it once, when the frame is created, and use it.
      3. Related to 1, we should clearly label all the places where the caller's SP is passed to a callee.

      Attachments

        Issue Links

          Activity

            People

              aph Andrew Haley
              aph Andrew Haley
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: