On Thu, 14 May 2026 12:21:46 GMT, Quan Anh Mai <[email protected]> wrote:

>> Marc Chevalier has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Specifying the dependency type
>
> src/hotspot/share/opto/library_call.cpp line 4770:
> 
>> 4768:               }
>> 4769:             }
>> 4770:             if (init_val != nullptr) {
> 
> Is it easier if we just emit a checkcast here?

`gen_checkcast` would deopt or throw, and here, I was suggested to abort. I 
couldn't find a function that would do that magically for me, but I still 
delegate the hard part to `gen_subtype_check`. That's something.

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2432#discussion_r3246692884

Reply via email to