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

Anjian Wen wenanjian at openjdk.org
Wed Oct 15 08:35:15 UTC 2025


On Wed, 15 Oct 2025 03:17:59 GMT, Fei Yang <fyang at openjdk.org> wrote:

>> 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.

I get it, can we just move this set after L171 since there is no other place set UsePoly1305Intrinsics?

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

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


More information about the hotspot-dev mailing list