RFR: 8314117: RISC-V: Incorrect VMReg encoding in RISCV64Frame.java

Feilong Jiang fjiang at openjdk.org
Thu Aug 10 14:25:32 UTC 2023


Hi, this patch fixes a VMReg encoding issue in `RISCV64Frame.java`. As the VMReg has two slots in a 64-bit VM, the encoding of `fp` should be `8 << 1` instead of `8`.

Testing:
- [x] tier1 with release build
- [ ] tier2 with release build
- [ ] tier3 with release build

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

Commit messages:
 - update huawei copyright year
 - fix incorrect fp encoding in RISCV64Frame.java

Changes: https://git.openjdk.org/jdk/pull/15226/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15226&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8314117
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/15226.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15226/head:pull/15226

PR: https://git.openjdk.org/jdk/pull/15226


More information about the serviceability-dev mailing list