[foreign-preview] RFR: 8277601: OptimizedEntryBlob should implement preserve_callee_argument_oops

Maurizio Cimadamore mcimadamore at openjdk.java.net
Tue Feb 22 15:29:03 UTC 2022


On Tue, 22 Feb 2022 15:19:06 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> Hi,
> 
> preserve_callee_argument_oops is currently not implemented, but it is also never called in practice.
> 
> Rather than leaving the implementation empty, or writing an implementation that is never actually called, this patch adds a `ShouldNotReachHere()` to the implementation so that we fail-fast in the case this function starts being called in the future.
> 
> Thanks,
> Jorn

Makes sense

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

Marked as reviewed by mcimadamore (Committer).

PR: https://git.openjdk.java.net/panama-foreign/pull/652


More information about the panama-dev mailing list