RFR: 8349428: RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489 [v2]
Fei Yang
fyang at openjdk.org
Wed Feb 5 12:42:14 UTC 2025
On Wed, 5 Feb 2025 10:36:52 GMT, Gui Cao <gcao at openjdk.org> wrote:
>> Hi, please review this small change fixing an assertion error.
>> As the alignment of the loading addresses is only ensured under -XX:-AvoidUnalignedAccesses, we should only enable the related assersions about the alignment under this option.
>>
>>
>> ### Testing
>> - [x] Sanity tested with -XX:-AvoidUnalignedAccesses using fastdebug build.
>> - [ ] Run tier1 tests on SOPHON SG2042 (fastdebug)
>> - [ ] Run tier1-3 tests on Milk-V Megrez (release)
>
> Gui Cao has updated the pull request incrementally with one additional commit since the last revision:
>
> Fix build
Looks good. Thanks!
-------------
Marked as reviewed by fyang (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23459#pullrequestreview-2595631970
More information about the hotspot-compiler-dev
mailing list