Questions about the trivial downcall

Maurizio Cimadamore maurizio.cimadamore at oracle.com
Thu Jul 27 00:33:51 UTC 2023


On 27/07/2023 01:29, Maurizio Cimadamore wrote:
>
> I believe the answer is "we crash" (but not in a "nice way"), and I'm 
> not too sure we can do much to prevent that. I believe Jorn knows more 
> on that topic.
>
A possible feature request: try to intercept the bogus situation (if 
possible), issue a civilized error message (maybe with some stack trace) 
and terminate the VM.

E.g. treat this as an upcall that fails in an unexpected way (e.g. an 
upcall that returns a pointer that is no longer alive).

Would be nice, but not sure if technically feasible.

Maurizio



More information about the panama-dev mailing list