Circular .ref or value class fields lead to a segmentation fault due to stack overflow during C2 compilation. The root cause is infinite recursion when C2 creates IR for scalarizing these fields.
- duplicates
-
JDK-8296056 [lworld] acmp should support value class with cyclic membership
-
- Closed
-
- relates to
-
JDK-8339302 [lworld] C2: "assert(safepoints.length() == 0 || !res_type->is_inlinetypeptr()) failed: Inline type allocations should not have safepoint uses" with circular inline types
-
- Resolved
-
-
JDK-8302308 [lworld] Improve handling of circularity in C2
-
- Open
-
-
JDK-8302217 [lworld] Infinite invocation of PhiNode::push_inline_types_through
-
- Open
-
(1 links to)