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

Guanqiang Han ghan at openjdk.org
Mon Feb 16 15:33:11 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:

  Adjust code style again

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29666/files
  - new: https://git.openjdk.org/jdk/pull/29666/files/0d37f22e..e1123557

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

  Stats: 2 lines in 1 file changed: 0 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