On Tue, 31 Mar 2026 15:00:17 GMT, Roland Westrelin <[email protected]> wrote:

>> This implements c2 and runtime support to pass a reference to an existing 
>> buffer, if there's one, as part of the scalarized calling convention. The 
>> buffer reference and the null marker are both always passed at this point.
>
> Roland Westrelin has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   more

src/hotspot/share/opto/compile.cpp line 2040:

> 2038:       Node* in = call->in(k);
> 2039:       if (wq.member(in)) {
> 2040:         assert(call->method()->is_scalarized_buffer_arg(k - 
> TypeFunc::Parms), "only buffer argument removed here");

Do we need a null check here as well?

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

PR Review Comment: 
https://git.openjdk.org/valhalla/pull/2062#discussion_r3016536378

Reply via email to