RFR: 8368724: RISC-V: Remove AvoidUnalignedAccesses Flag [v5]
Hamlin Li
mli at openjdk.org
Fri Oct 10 09:29:29 UTC 2025
On Fri, 10 Oct 2025 08:09:27 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:
>
> fix the use of unaligned_access
src/hotspot/cpu/riscv/globals_riscv.hpp line 95:
> 93: product(bool, UseConservativeFence, false, \
> 94: "Extend i for r and o for w in the pred/succ flags of fence") \
> 95: product(bool, AvoidUnalignedAccesses, true, \
Not sure what's the rule to remove this riscv specific options. Can we just simply delete it in this pr?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27510#discussion_r2419066002
More information about the hotspot-dev
mailing list