RFR: 8373343: C2: verify AddP base input only set for heap addresses [v2]

Roland Westrelin roland at openjdk.org
Wed Dec 17 14:04:04 UTC 2025


> The base input of `AddP` is expected to only be set for heap accesses
> but I noticed some inconsistencies so I added an assert in the `AddP`
> constructor and fixed issues that it caught. AFAFICT, the
> inconsistencies shouldn't create issues.

Roland Westrelin has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains eight additional commits since the last revision:

 - review
 - review
 - merge
 - more
 - more
 - more
 - undo
 - exps

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28769/files
  - new: https://git.openjdk.org/jdk/pull/28769/files/541a5d2b..38eb3b3f

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

  Stats: 8147 lines in 310 files changed: 5175 ins; 1079 del; 1893 mod
  Patch: https://git.openjdk.org/jdk/pull/28769.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28769/head:pull/28769

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


More information about the hotspot-compiler-dev mailing list