Description
As described in the PR of JDK-8280696 (https://github.com/openjdk/jdk/pull/8770), the following code might add a useless CastPP with a strong dependency that blocks other optimizations:
https://github.com/openjdk/jdk/blob/aa7ccdf44549a52cce9e99f6569097d3343d9ee4/src/hotspot/share/opto/cfgnode.cpp#L2013-L2016
The code was originally introduced by 8139771.
https://github.com/openjdk/jdk/blob/aa7ccdf44549a52cce9e99f6569097d3343d9ee4/src/hotspot/share/opto/cfgnode.cpp#L2013-L2016
The code was originally introduced by 8139771.
Attachments
Issue Links
- relates to
-
JDK-8280696 C2 compilation hits assert(is_dominator(c, n_ctrl)) failed
- Resolved
-
JDK-8139771 Eliminating CastPP nodes at Phis when they all come from a unique input may cause crash
- Closed