JDK-8279219 : [REDO] C2 crash when allocating array of size too large
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 11,17,18,19
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2021-12-23
  • Updated: 2022-08-12
  • Resolved: 2022-02-02
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 18 JDK 19
11.0.16-oracleFixed 17.0.4-oracleFixed 18.0.2Fixed 19 b08Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
The original fix caused problems and was backed out. This bug should redo the fix which should also fix the found problems with JDK-8278413:
- JDK-8279021
- JDK-8279062
- JDK-8279125
Comments
Fix request [11u] I backport this for parity with 11.0.16-oracle. This is a quite big change in C2 bringing a certain risk. But as it fixes a bug I think we shoul take it to 11. Also, it was quite well tested in the course of development until it finally made it into the repo. I had to resolve sereval trivial issues. No code changes. Tests pass. SAP nightly testing passed.
05-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk11u-dev/pull/990 Date: 2022-04-02 09:44:57 +0000
02-04-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk18u/pull/69 Date: 2022-03-29 15:26:49 +0000
29-03-2022

Fix Request (JDK 18u) Fixes a crash in C2. The fix is medium risk and applies cleanly. Already tested and backported to Oracle JDK 17u. Tier 1-3 testing is running for JDK 18u.
29-03-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk17u-dev/pull/296 Date: 2022-03-29 12:31:02 +0000
29-03-2022

Fix Request (17u): Should get backported for parity with 17.0.4-oracle. Applies cleanly. Tests have passed.
29-03-2022

Changeset: d32f99ee Author: Roland Westrelin <roland@openjdk.org> Date: 2022-02-02 07:34:22 +0000 URL: https://git.openjdk.java.net/jdk/commit/d32f99ee65679601d6e160e7975fc1e367bfa6f4
02-02-2022

A pull request was submitted for review. URL: https://git.openjdk.java.net/jdk/pull/6952 Date: 2022-01-04 08:51:30 +0000
04-01-2022

ILW = Same as JDK-8278413 = P3
23-12-2021