[lworld] Integrated: 8326048: [lworld] LibraryCallKit::arraycopy_restore_alloc_state needs to handle _newNullRestrictedArray intrinsic

Tobias Hartmann thartmann at openjdk.org
Fri Feb 16 14:35:04 UTC 2024


On Fri, 16 Feb 2024 14:01:31 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> Follow-up from [JDK-8325106](https://bugs.openjdk.org/browse/JDK-8325106): We hit an assert because we create a wrong JVMState in `LibraryCallKit::arraycopy_restore_alloc_state` for re-executing the `newNullRestrictedArray` intrinsic because the code does not account for the class argument on stack in addition to the size.
> 
> I also fixed an independent issue with handling circularity.
> 
> Best regards,
> Tobias

This pull request has now been integrated.

Changeset: d52f3fd1
Author:    Tobias Hartmann <thartmann at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/d52f3fd1e966339e82e5e4a924ceb005f77fafdd
Stats:     84 lines in 11 files changed: 49 ins; 17 del; 18 mod

8326048: [lworld] LibraryCallKit::arraycopy_restore_alloc_state needs to handle _newNullRestrictedArray intrinsic

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

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



More information about the valhalla-dev mailing list