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

PPC64+s390: get_frame_at_stack_banging_point uses wrong PC

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10, 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01
    • CPU:
      ppc, s390x

      Description

      C1 and C2 JIT compilers generate stack banging code before the code for saving the PC into the frame on PPC64 and s390.
      Hence, the PC needs to be picked from the signal context (LR on PPC64 and R14 on s390) to create a correct frame object.

      Currently, the top frame can not be checked for reserved stack annotation because the frame doesn't get a PC which points into the nmethod.

        Attachments

          Activity

            People

            • Assignee:
              mdoerr Martin Doerr
              Reporter:
              mdoerr Martin Doerr
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: