[lworld] RFR: 8378167: [lworld] C2: "unused buffer allocation" in do_late_inline_helper [v2]

Quan Anh Mai qamai at openjdk.org
Fri Feb 27 10:24:49 UTC 2026


On Fri, 27 Feb 2026 10:14:01 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> When handling a scalarized return from an inlined method handle call in C2, we assert that we always make use of the buffer that we pre-allocated before the call. The assert is too strong because we could stop parsing in the callee due to an uncommon trap. I added a corresponding test that triggers this because we trap in the callee due to always throwing an exception.
>> 
>> Thanks,
>> Tobias
>
> Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:
> 
>   V2

Ah I see, thanks a lot for your clarification.

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

Marked as reviewed by qamai (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/2177#pullrequestreview-3866142712


More information about the valhalla-dev mailing list