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

Gui Cao gcao at openjdk.org
Wed Feb 5 10:36:52 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23459/files
  - new: https://git.openjdk.org/jdk/pull/23459/files/4d925697..71b6ecc8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23459&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23459&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/23459.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23459/head:pull/23459

PR: https://git.openjdk.org/jdk/pull/23459


More information about the hotspot-compiler-dev mailing list