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

Feilong Jiang fjiang at openjdk.org
Mon Aug 14 08:08:29 UTC 2023


On Fri, 11 Aug 2023 06:50:59 GMT, Fei Yang <fyang 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
>
> Looks reasonable to me. Thanks for finding this.

@RealFYang -- Thank you for the review!

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

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


More information about the serviceability-dev mailing list