RFR: 8370502: C2: segfault while adding node to IGVN worklist [v3]

Kerem Kat krk at openjdk.org
Thu Nov 27 17:51:11 UTC 2025


> Do not try to replace `fallthrough_memproj` when it is null, fixes crash.
> 
> Test case is simplified from the ticket. Verified that the case crashes without the fix.

Kerem Kat 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 seven additional commits since the last revision:

 - rename test file
 - Merge branch 'master' into fix-c2-segfault-unlocknode
 - fix test spacing
 - Update src/hotspot/share/opto/macro.cpp
   
   Co-authored-by: Manuel Hässig <manuel at haessig.org>
 - Update src/hotspot/share/opto/macro.cpp
   
   Co-authored-by: Manuel Hässig <manuel at haessig.org>
 - copyright format fix?
 - 8370502: C2: segfault while adding node to IGVN worklist

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/28432/files
  - new: https://git.openjdk.org/jdk/pull/28432/files/e8699d79..d0971b5b

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

  Stats: 42917 lines in 619 files changed: 29935 ins; 9637 del; 3345 mod
  Patch: https://git.openjdk.org/jdk/pull/28432.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28432/head:pull/28432

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


More information about the hotspot-compiler-dev mailing list