Patent ID: 11875168
Assignee: ORACLE INTERNATIONAL CORPORATION
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. One or more non-transitory machine-readable media storing instructions which, when executed by one or more processors, cause:
receiving a method invocation instruction for invoking, from a function compiled from a first programming language, a particular method compiled from a second programming language, the method invocation instruction comprising a function descriptor, a method type, and an application binary interface (ABI) descriptor, wherein the function descriptor includes a memory layout corresponding to any data returned by the function and memory layouts corresponding to each argument for the particular method;
selecting an ABI for processing the particular method based on the received ABI descriptor;
associating each argument with a corresponding particular physical register into which the argument is to be loaded, wherein the particular register is selected based on at least the selected ABI and the function descriptor;
causing a virtual machine to load each argument into the corresponding associated physical register;
invoking the particular method using at least one argument stored in the corresponding associated physical register.