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

RISC-V: SA stack walking code having trouble finding sender frame when invoking LambdaForms is involved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • hotspot
    • None
    • b16
    • riscv
    • linux

    Description

      Inspired by JDK-8313800.
      RISC-V also treats x8/fp as a callee-saved scratch register for some time, and it is freely used by C2-generated code. Therefore, any code in SA that uses getFP() in a compiled frame is very likely to come to grief.

      Attachments

        Issue Links

          Activity

            People

              fjiang Feilong Jiang
              fjiang Feilong Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: