[lworld] RFR: 8376702: [lworld] MemNode::optimize_simple_memory_chain asserts with "invalid node class: Con" [v3]
Quan Anh Mai
qamai at openjdk.org
Tue Feb 3 12:59:06 UTC 2026
On Tue, 3 Feb 2026 12:53:39 GMT, Quan Anh Mai <qamai at openjdk.org> wrote:
>> Hi,
>>
>> I cannot manage to reproduce the issue, and it seems to fail only once in our CI. From the log, it seems that the issue is due to the fact that the pointer input to the `Load` is a `Proj` but its input dies, so the cast `as_Multi` in `try_optimize_strict_final_load_memory` fails. I can see a similar check in `MemNode::optimize_simple_memory_chain`. As a result, it is reasonable to just return the top here.
>>
>> Please take a look and leave your review, thanks a lot.
>
> Quan Anh Mai has updated the pull request incrementally with one additional commit since the last revision:
>
> Disable tests in NullableInlineTypes
I notice there are other tests in this file that run for thousands of iteration each time they are invoked, so I created https://bugs.openjdk.org/browse/JDK-8377066 to track them. For this PR, I disable the test in `TestNullableInlineTypes`.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/2016#issuecomment-3841149300
More information about the valhalla-dev
mailing list