[riscv-port] Integrated: 8278832: riscv: Inconsistency of Java frame offset definition in jdk.hotspot.agent

Feilong Jiang fjiang at openjdk.java.net
Wed Dec 15 09:38:20 UTC 2021


On Wed, 15 Dec 2021 02:35:05 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

> The Java frame definition was refactored in https://github.com/openjdk/jdk-sandbox/commit/db2415748747a0912749bb8fc160a8948021a924 to make Java frame offset the 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

This pull request has now been integrated.

Changeset: 58dff3e4
Author:    Feilong Jiang <fjiang at openjdk.org>
Committer: Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.java.net/riscv-port/commit/58dff3e46fbb3e9cb57b60e742fd454535254340
Stats:     5 lines in 1 file changed: 0 ins; 0 del; 5 mod

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

Reviewed-by: yadongwang, yzhu, fyang

-------------

PR: https://git.openjdk.java.net/riscv-port/pull/30


More information about the riscv-port-dev mailing list