Integrated: 8349428: RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489
Gui Cao
gcao at openjdk.org
Thu Feb 6 09:34:17 UTC 2025
On Wed, 5 Feb 2025 09:04:10 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)
This pull request has now been integrated.
Changeset: d85f6514
Author: Gui Cao <gcao at openjdk.org>
Committer: Hamlin Li <mli at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d85f65147aeb4009742bfe401c6070d920b71b3e
Stats: 35 lines in 2 files changed: 14 ins; 0 del; 21 mod
8349428: RISC-V: "bad alignment" with -XX:-AvoidUnalignedAccesses after JDK-8347489
Reviewed-by: fyang, mli
-------------
PR: https://git.openjdk.org/jdk/pull/23459
More information about the hotspot-compiler-dev
mailing list