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

Aleksey Shipilev shade at openjdk.org
Tue Jun 3 20:21:24 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.

Wait, hold on. The rule is to wait for 24 hours for Hotspot changes and have at least 2 Reviewers. Unless the change is trivial. This one is simple, but not trivial. So stand by if anyone would ask to back it out.

@vnkozlov, @TobiHartmann -- FYI, there was a process snag, keep an eye on testing. ^^^

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

PR Comment: https://git.openjdk.org/jdk/pull/25627#issuecomment-2937056595
PR Comment: https://git.openjdk.org/jdk/pull/25627#issuecomment-2937060106


More information about the hotspot-compiler-dev mailing list