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

Tobias Hartmann thartmann at openjdk.java.net
Fri Dec 4 07:32:01 UTC 2020


On Wed, 2 Dec 2020 21:56:55 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

> 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

Looks good.

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

Marked as reviewed by thartmann (Reviewer).

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


More information about the hotspot-compiler-dev mailing list