RFR: 8358534: Bailout in Conv2B::Ideal when type of cmp input is not supported
Cesar Soares Lucas
cslucas at openjdk.org
Tue Jun 3 19:53:32 UTC 2025
`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.
-------------
Commit messages:
- Bailout of Conv2BNode::ideal on unknown input type.
Changes: https://git.openjdk.org/jdk/pull/25627/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25627&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8358534
Stats: 5 lines in 1 file changed: 5 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/25627.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25627/head:pull/25627
PR: https://git.openjdk.org/jdk/pull/25627
More information about the hotspot-compiler-dev
mailing list