[code-reflection] Integrated: Make downcall method handles for ORT API functions static
Hannes Greule
hgreule at openjdk.org
Tue Feb 18 19:28:29 UTC 2025
On Tue, 18 Feb 2025 17:31:23 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> No downside -- in fact, regular downcall handles are just "virtual" downcall handle, where the first memory segment parameter is injected statically (e.g. using `insertArguments`). Internally, the downcall method handle machinery always model the target address as an input parameter, so there's no extra cost.
I see, thanks!
-------------
PR Comment: https://git.openjdk.org/babylon/pull/322#issuecomment-2666475783
More information about the babylon-dev
mailing list