JDK-8306997 : C2: "malformed control flow" assert due to missing safepoint on backedge with a switch
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:11,17,20,21
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2023-04-27
Updated:2024-09-18
Resolved:2023-05-03
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
I hit:
# Internal Error (/home/roland/jdk-jdk/src/hotspot/share/opto/compile.cpp:4003), pid=2305479, tid=2305494
# assert(false) failed: malformed control flow
I'll provide a test case in the PR.