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

riscv: Inconsistency of Java frame offset definition in jdk.hotspot.agent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: repo-riscv-port
    • Fix Version/s: repo-riscv-port
    • Component/s: hotspot
    • Labels:

      Description

      The Java frame definition was refactored in https://github.com/openjdk/jdk-sandbox/commit/db2415748747a0912749bb8fc160a8948021a924 to made Java frame offset same as C frame. In jdk.hotspot.agent, there is another Java frame definition based on the old Java frame offset, which causes jstack stack walking error. These definitions should also be updated.

      Two tests passed after this fixing:
      - test/hotspot/jtreg/serviceability/sa/ClhsdbCDSCore.java
      - test/hotspot/jtreg/serviceability/sa/ClhsdbFindPC.java

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              fjiang Feilong Jiang
              Reporter:
              fjiang Feilong Jiang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: