[jdk17] RFR: 8269641: assert(tmp == _callprojs.fallthrough_catchproj) failed: allocation control projection

Nils Eliasson neliasso at openjdk.java.net
Thu Jul 1 18:28:04 UTC 2021


On Thu, 1 Jul 2021 16:40:46 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

> I suggest to create new **open** bug and close current as dup.

This fixes the original reported bug - so that we run fine even without JDK-8268405 (which probably doesn't fix it - just hides it.)

> I also don't get why your change in macro.cpp fixed the issue. `fallthrough_catchproj` is local cached value - it should not be updated with call to `replace_node()`.
> 
> Can you tell more what happened here?

fallthrough_catchproj is chached. It's the tmp that will be NULL if the assert is after the replace. The Init-node is being removed. Maybe I should just remove the entire assert - it's a bit unnecessary.

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

PR: https://git.openjdk.java.net/jdk17/pull/193


More information about the hotspot-compiler-dev mailing list