JDK-8318889 : C2: add bailout after assert Bad graph detected in build_loop_late
Type:Bug
Component:hotspot
Sub-Component:compiler
Affected Version:8u341,11,17,21,22
Priority:P2
Status:Closed
Resolution:Fixed
Submitted:2023-10-26
Updated:2024-02-28
Resolved:2023-10-30
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.
We should bail out of compilation rather than crash in product.
Comments
[jdk11u-fix-request] Approval Request from Amos
“Backporting for parity with jdk 11.0.23-oracle. Clean backport. SAP nightlies passed on 2023-12-15”
15-12-2023
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk11u-dev/pull/2379
Date: 2023-12-13 21:46:16 +0000
13-12-2023
ILW = Crash during C2 compilation, several occurrences in the past, no workaround but disable compilation = HMM = P2
03-11-2023
[jdk17u-fix-request] Approval Request from Aleksey Shipilëv
The fix resolves crashes in product by bailing out from C2 compilation. It's low risk, as the alternative would be crashing/miscompiling in production bits. Applies cleanly. Testing passes.
30-10-2023
A pull request was submitted for review.
URL: https://git.openjdk.org/jdk21u/pull/303
Date: 2023-10-30 11:24:25 +0000
30-10-2023
Fix Request (JDK 21u):
The fix resolves crashes in product by bailing out from C2 compilation. It's low risk and was tested in the JDK 22 CI. The backport applies cleanly.