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

Claim 5:
6. The one or more media of claim 1, further comprising:
receiving a second method invocation instruction for invoking a second method, the second method invocation instruction comprising one or more arguments and a function descriptor comprising a memory layout corresponding to data returned by the function and one or more memory layouts each corresponding to the one or more arguments;
selecting a second ABI for processing the second method;
determining that the second method cannot be processed using a special processing program;
in response to determining that the second method cannot be processed using the special processing program:
creating a buffer sized to store at least the one or more arguments;
moving the one or more arguments into the buffer, wherein a location for each argument is selected based on the function descriptor of the second method invocation instruction and the second ABI;
associating each location of the buffer with a corresponding physical register;
causing the virtual machine to load each of the one or more arguments from the buffer into the corresponding associated physical register.