RFR: 8368724: RISC-V: Check if unaligned_access is enabled before use [v2]
Anjian Wen
wenanjian at openjdk.org
Fri Oct 10 07:16:20 UTC 2025
> we can notice that the `unaligned_access.value()` can only be used when the `unaligned_access.enabled()` is true, so we add the check here before use
>
> Manually checked the result on platforms w/wo fast misaligned accesses by running: $java -XX:+PrintFlagsFinal -version | grep AvoidUnalignedAccess
Anjian Wen has updated the pull request incrementally with one additional commit since the last revision:
delete AvoidUnalignedAccesses and extra unnecessary check
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27510/files
- new: https://git.openjdk.org/jdk/pull/27510/files/3f657e0a..42f1db93
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27510&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27510&range=00-01
Stats: 34 lines in 5 files changed: 0 ins; 7 del; 27 mod
Patch: https://git.openjdk.org/jdk/pull/27510.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27510/head:pull/27510
PR: https://git.openjdk.org/jdk/pull/27510
More information about the hotspot-dev
mailing list