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

Anjian Wen wenanjian at openjdk.org
Tue Oct 14 11:07:43 UTC 2025


On Fri, 10 Oct 2025 10:48:34 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:

>> Sorry, I did not mean you should delete the `AvoidUnalignedAccesses`. I just don't know the exact rule about how to delete it.
>> Please hold on for a while to get a comment on this part of change from others.
>
> 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  : )

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

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


More information about the hotspot-dev mailing list