RFR: 8368724: RISC-V: Remove AvoidUnalignedAccesses Flag [v6]
Fei Yang
fyang at openjdk.org
Wed Oct 15 03:22:06 UTC 2025
On Fri, 10 Oct 2025 09:44:02 GMT, Anjian Wen <wenanjian at openjdk.org> wrote:
>> According to the discuss in https://github.com/openjdk/jdk/pull/27445#, we can use UseUnalignedAccesses and !UseUnalignedAccesses to cover the AvoidUnalignedAccesses Flag, so I Remove the AvoidUnalignedAccesses Flag in this patch
>
> Anjian Wen has updated the pull request incrementally with one additional commit since the last revision:
>
> modify the global flag change
src/hotspot/cpu/riscv/vm_version_riscv.cpp line 161:
> 159: }
> 160:
> 161: if (UseUnalignedAccesses) {
This doesn't look right to me. Because `UseUnalignedAccesses` is used before properly assigned. This option is set at L171.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27510#discussion_r2431000527
More information about the hotspot-dev
mailing list