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

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

Commit messages:
 - Fix

Changes: https://git.openjdk.org/valhalla/pull/2177/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2177&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8378167
  Stats: 23 lines in 2 files changed: 22 ins; 0 del; 1 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

Reply via email to