[jdk17u-dev] RFR: 8292301: [REDO v2] C2 crash when allocating array of size too large

Goetz Lindenmaier goetz at openjdk.org
Thu Mar 16 08:25:45 UTC 2023


I had to resolve three files:
src/hotspot/share/opto/callnode.cpp
AllocateArrayNode::Ideal could not be deleted automatically.
The patch removes       igvn->add_input_to(phase->C->root(), halt);
but 11 has              phase->C->root()->add_req(halt);
Just deleted anyways.

src/hotspot/share/opto/loopopts.cpp
In the source, clone_loop() has been refactored.
The patch touches code moved to finish_clone_loop().
The very same code is in clone_loop() in 17. Moved
hunk there.

src/hotspot/share/opto/phaseX.cpp
Just placement of a comment.

-------------

Commit messages:
 - Backport 1ea0d6b424c263590fd145913280a180d7ce5fe1

Changes: https://git.openjdk.org/jdk17u-dev/pull/1204/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=1204&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8292301
  Stats: 502 lines in 19 files changed: 394 ins; 67 del; 41 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/1204.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/1204/head:pull/1204

PR: https://git.openjdk.org/jdk17u-dev/pull/1204


More information about the jdk-updates-dev mailing list