Integrated: 8346231: RISC-V: Fix incorrect assertion in SharedRuntime::generate_handler_blob

Fei Yang fyang at openjdk.org
Tue Dec 17 00:04:43 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)

This pull request has now been integrated.

Changeset: 929d4a50
Author:    Fei Yang <fyang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/929d4a50999d1e734070bb03552fba2eff9f6c3a
Stats:     4 lines in 1 file changed: 1 ins; 0 del; 3 mod

8346231: RISC-V: Fix incorrect assertion in SharedRuntime::generate_handler_blob

Reviewed-by: fjiang, rehn

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

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


More information about the hotspot-runtime-dev mailing list