RFR: 8257632: C2: Late inlining attempt on a call with a dead memory crashes

Vladimir Ivanov vlivanov at openjdk.java.net
Wed Dec 2 22:07:04 UTC 2020


Attempt to inline through a call with a dead memory (but not a TOP yet) ends up badly.

The fix is to detect such case and avoid inlining letting the problematic call die during the next cleanup iteration.   

Testing:
- [x] hs-tier1-6 w/ -XX:+AlwaysIncrementalInlining

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

Commit messages:
 - Fix late inline when start memory is dead

Changes: https://git.openjdk.java.net/jdk/pull/1582/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1582&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8257632
  Stats: 7 lines in 2 files changed: 7 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1582.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1582/head:pull/1582

PR: https://git.openjdk.java.net/jdk/pull/1582


More information about the hotspot-compiler-dev mailing list