The original back-to-back if optimization added by JDK-8143542 relies on using split-if to nicely fold the dominated (and to be removed) if away afterwards in IGVN. However, it does not handle data dependencies correctly which could lead to crashes in rare cases (JDK-8275610). The fix for JDK-8275610 simply disables JDK-8143542 if there are data dependencies involved. This RFE aims to improve the back-to-back if optimization to also work correctly with data dependencies.
- relates to
-
JDK-8275610 C2: Object field load floats above its null check resulting in a segfault
-
- Resolved
-
-
JDK-8143542 C2 doesn't eliminate identical checks
-
- Resolved
-
-
JDK-8297345 C2: SIGSEGV in PhaseIdealLoop::push_pinned_nodes_thru_region
-
- Closed
-
-
JDK-8303970 C2 can not merge homogeneous adjacent two If
-
- Open
-
(1 links to)