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

AArch64: include FP/LR space in LIR_Assembler::initial_frame_size_in_bytes()

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b22
    • CPU:
      aarch64

      Description

      LIR_Assembler::initial_frame_size_in_bytes() returns the frame size without the additional 2*wordSize needed to store FP/LR (i.e. just the space required for the C1 locals). When we pass this value to MacroAssembler::build_frame() we need to remember to add back the 2*wordSize. As the only use of LIR_Assembler::initial_frame_size_in_bytes() is as input to MacroAssembler::build_frame() we can simplify this and just return the full frame size from LIR_Assembler::initial_frame_size_in_bytes().

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ngasson Nick Gasson
              Reporter:
              ngasson Nick Gasson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: