RFR: 8349428: RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489 [v2]

Gui Cao gcao at openjdk.org
Thu Feb 6 08:52:09 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)
>
> Gui Cao has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Fix build

Thanks all for the review.

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

PR Comment: https://git.openjdk.org/jdk/pull/23459#issuecomment-2639182678


More information about the hotspot-compiler-dev mailing list