RFR: 8373577: C2: Cleanup adr_type of CallLeafPureNode

Roberto Castañeda Lozano rcastanedalo at openjdk.org
Fri Dec 12 15:48:24 UTC 2025


On Fri, 12 Dec 2025 11:09:36 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:

> Hi,
> 
> This PR is extracted from #28570 , `CallLeafPureNode`s do not read from or write to memory, so their `adr_type` should be `nullptr`.
> 
> Please take a look and leave your reviews, thanks a lot.

Thanks for doing this! I reported [JDK-8367667](https://bugs.openjdk.org/browse/JDK-8367667) some time ago for adding verification code that checks address type consistency, so that we avoid introducing inconsistencies like this one. Feel free to grab it if you are interested.

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

PR Comment: https://git.openjdk.org/jdk/pull/28786#issuecomment-3647093880


More information about the hotspot-compiler-dev mailing list