Integrated: 8375657: RISC-V: Need to check size in SharedRuntime::is_wide_vector
Dingli Zhang
dzhang at openjdk.org
Tue Jan 20 23:52:43 UTC 2026
On Tue, 20 Jan 2026 01:05:43 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:
> Hi,
> Can you help to review this patch? Thanks!
>
> Currently, we only check `UseRVV` flag in `SharedRuntime::is_wide_vector` on RISC-V platforms. This is not optimal when no vector instructions is used by the nmethod. In this case, the the input size parameter is zero. We should consider this case so that we choose the right sub in `SharedRuntime::get_poll_stub` when handling safepoint.
This pull request has now been integrated.
Changeset: ca3e6236
Author: Dingli Zhang <dzhang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/ca3e6236a28794156cc2acf697755229c47735a8
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
8375657: RISC-V: Need to check size in SharedRuntime::is_wide_vector
Reviewed-by: fjiang, fyang
-------------
PR: https://git.openjdk.org/jdk/pull/29307
More information about the hotspot-compiler-dev
mailing list