RFR: 8346231: RISC-V: Fix incorrect assertion in SharedRuntime::generate_handler_blob
Robbin Ehn
rehn at openjdk.org
Mon Dec 16 08:14:39 UTC 2024
On Sat, 14 Dec 2024 08:17:56 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, please review this small change fixing several typos in assertion code.
>
> I find that the verification of encoding of the poll instruction in this blob is not correct.
> The code loads the instruction and checks for three bit fields, but it uses wrong masks. This
> won't trigger an assertion failure as the masks used are the same as the expected values.
>
> Testing on linux-riscv64 platform:
> - [x] hotspot:tier1 (fastdebug)
Thanks!
-------------
Marked as reviewed by rehn (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22750#pullrequestreview-2505429858
More information about the hotspot-runtime-dev
mailing list