RFR: 8375094: RISC-V: Fix client builds after JDK-8368732

Anjian Wen wenanjian at openjdk.org
Tue Jan 13 07:05:54 UTC 2026


On Tue, 13 Jan 2026 04:54:39 GMT, Dingli Zhang <dzhang at openjdk.org> wrote:

> Hi,
> Can you help to review this patch? Thanks!
> 
> [JDK-8368732](https://bugs.openjdk.org/browse/JDK-8368732) broke RISC-V client builds because `AlignVector` is a C2-only option.
> This pr is to put `AlignVector` under COMPILER2 macro protection.
> 
> Builds tested w/ and w/o `--with-jvm-variants=client`.

Looks good, Thanks!

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

Marked as reviewed by wenanjian (Committer).

PR Review: https://git.openjdk.org/jdk/pull/29182#pullrequestreview-3654169545


More information about the hotspot-dev mailing list