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.

To download the current JDK release, click here.
JDK 11 JDK 17 JDK 21 JDK 22 JDK 8
11.0.23-oracleFixed 17.0.10Fixed 21.0.2Fixed 22 b22Fixed 8u411Fixed
Related Reports
Relates :  
Description
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.
30-10-2023

Follow-up RFE: JDK-8318900
30-10-2023

Changeset: 83eb2065 Author: Emanuel Peter <epeter@openjdk.org> Date: 2023-10-30 07:17:30 +0000 URL: https://git.openjdk.org/jdk/commit/83eb20651f6b5fa0540a339921c8ad0a6d370bb7
30-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk17u-dev/pull/1933 Date: 2023-10-30 12:34:52 +0000
30-10-2023

This should serve as a stop-the-gap solution for most of the issues linked to JDK-8275202.
26-10-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/16375 Date: 2023-10-26 10:47:28 +0000
26-10-2023