RFR: 8376220: C2: Refactor the logic to in MemNode::find_previous_store [v2]

Quan Anh Mai qamai at openjdk.org
Fri Jan 23 17:05:01 UTC 2026


> Hi,
> 
> This patch refactors the logic in `MemNode::find_previous_store` and makes a small improvement to `MemNode::detect_ptr_independence`. An IR test accompanies the improvement.
> 
> Please take a look and share your thoughts, thanks a lot.

Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:

  Fix null access

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29390/files
  - new: https://git.openjdk.org/jdk/pull/29390/files/4ce0cf4f..ac27cabf

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

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

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


More information about the hotspot-compiler-dev mailing list