[lworld] RFR: 8378167: [lworld] C2: "unused buffer allocation" in do_late_inline_helper [v2]
Tobias Hartmann
thartmann at openjdk.org
Fri Feb 27 10:14:01 UTC 2026
> 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
-------------
Changes:
- all: https://git.openjdk.org/valhalla/pull/2177/files
- new: https://git.openjdk.org/valhalla/pull/2177/files/98e48a79..c6edd01b
Webrevs:
- full: https://webrevs.openjdk.org/?repo=valhalla&pr=2177&range=01
- incr: https://webrevs.openjdk.org/?repo=valhalla&pr=2177&range=00-01
Stats: 51 lines in 3 files changed: 29 ins; 22 del; 0 mod
Patch: https://git.openjdk.org/valhalla/pull/2177.diff
Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2177/head:pull/2177
PR: https://git.openjdk.org/valhalla/pull/2177
More information about the valhalla-dev
mailing list