RFR: 8374789: C2: refactor GraphKit code that create AddP nodes for raw memory to use helper method [v2]
Guanqiang Han
ghan at openjdk.org
Thu Feb 12 13:18:25 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 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 six additional commits since the last revision:
- Replace AddPNode constructor calls with static func
- Merge remote-tracking branch 'upstream/master' into 8374789
- update copyright year
- Merge remote-tracking branch 'upstream/master' into 8374789
- Use off_heap_plus_addr for raw AddP address computation
- Add helper for creating raw AddP nodes
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29666/files
- new: https://git.openjdk.org/jdk/pull/29666/files/ad4bc0fb..e794b87a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29666&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29666&range=00-01
Stats: 5599 lines in 199 files changed: 3743 ins; 585 del; 1271 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