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

Martin Doerr mdoerr at openjdk.org
Mon Mar 20 11:29:36 UTC 2023


On Thu, 16 Mar 2023 08:16:50 GMT, Goetz Lindenmaier <goetz at openjdk.org> wrote:

> 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.

Thanks for the detailed description! Backport looks correct to me.

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

Marked as reviewed by mdoerr (Reviewer).

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


More information about the jdk-updates-dev mailing list