RFR: 8358534: Bailout in Conv2B::Ideal when type of cmp input is not supported

Aleksey Shipilev shade at openjdk.org
Tue Jun 3 20:02:16 UTC 2025


On Tue, 3 Jun 2025 19:48:37 GMT, Cesar Soares Lucas <cslucas at openjdk.org> wrote:

> `Conv2BNode::ideal` segfaults in release builds when the type of `in(1)` is not INT or PTR. Creating a small test case to reproduce the issue is being a bit challenging so this PR only address the issue by bailing out of the method if the input type is unsupported. This other ticket https://bugs.openjdk.org/browse/JDK-8357885 will address creating a regression test for the problem.
> 
> Tested with JTREG tier1-3 and Renaissance on Linux x64.

Looks good to me.

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

Marked as reviewed by shade (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25627#pullrequestreview-2893932492


More information about the hotspot-compiler-dev mailing list