RFR: 8368724: RISC-V: Remove AvoidUnalignedAccesses Flag [v7]

Fei Yang fyang at openjdk.org
Sat Oct 18 08:35:07 UTC 2025


On Tue, 14 Oct 2025 11:04:38 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:

>> Oh, I misunderstood, I will try to check the rule and test tier1
>
> This AvoidUnalignedAccesses Flag is defined in ARCH_FLAGS, I think it will only affect riscv arch. and after using the alternative flag !UseUnalignedAccesses, it seems there is no need for it in the hotspot/cpu/riscv, we can hold on for a while to wait for others comments.
> 
> besides, I have  test-tier1 tests passed with or without deleting this  : )

AFAIK, you need a CSR when removing a product flag.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27510#discussion_r2441819942


More information about the hotspot-dev mailing list