On Thu, 26 Feb 2026 15:33:40 GMT, Tobias Hartmann <[email protected]> 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

This pull request has now been integrated.

Changeset: 89838a08
Author:    Tobias Hartmann <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/89838a081ede52128dc004eb745ba8ca995f2a6f
Stats:     30 lines in 2 files changed: 29 ins; 0 del; 1 mod

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

Reviewed-by: qamai

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

PR: https://git.openjdk.org/valhalla/pull/2177

Reply via email to