RFR: 8374789: C2: refactor GraphKit code that create AddP nodes for raw memory to use helper method [v3]

Guanqiang Han ghan at openjdk.org
Thu Feb 12 13:25:39 UTC 2026


> This PR refactors GraphKit code that creates AddP nodes for raw memory to use a dedicated helper method. This avoids passing top() explicitly at call sites and improves readability.
> 
> Please review this change. Thanks!
> 
> **Test:** GHA

Guanqiang Han has updated the pull request incrementally with one additional commit since the last revision:

  Align properly

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29666/files
  - new: https://git.openjdk.org/jdk/pull/29666/files/e794b87a..f7931859

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

  Stats: 3 lines in 2 files changed: 1 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/29666.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29666/head:pull/29666

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


More information about the shenandoah-dev mailing list