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

Vladimir Kempik vkempik at openjdk.org
Mon Aug 14 10:10:28 UTC 2023


On Thu, 10 Aug 2023 14:01:25 GMT, Feilong Jiang <fjiang at openjdk.org> wrote:

> Hi, inspired by [JDK-8247351](https://bugs.openjdk.org/browse/JDK-8247351),  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
> - [x] tier2 with release build
> - [x] tier3 with release build
> - [x] hotspot:tier4 with release build

Please consider backporting this to 21u/17u if they are affected

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

PR Comment: https://git.openjdk.org/jdk/pull/15226#issuecomment-1677025806


More information about the serviceability-dev mailing list