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

duke duke at openjdk.org
Thu Feb 6 08:52:10 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

@zifeihan 
Your change (at version 71b6ecc8c59f0f1d6876da2236a6c83ce3d113bc) is now ready to be sponsored by a Committer.

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

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


More information about the hotspot-compiler-dev mailing list