Modeling foreign functions using executable references
AssigneeOracle International Corporation
InventorsMaurizio Cimadamore, James Malcolm Laskey, Jorn Bender Vernee, Vladimir Vitalyevich Ivanov
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsMaurizio Cimadamore, James Malcolm Laskey, Jorn Bender Vernee, Vladimir Vitalyevich Ivanov
Estimating the term…
Techniques for representing a native function using an executable reference are disclosed. The system receives an instruction to create an executable reference for a native function, including a method type comprising a method signature corresponding to the executable reference, and a function description including (a) a memory layout corresponding to data returned by the function and (b) memory layouts corresponding to parameters required by the function. The system selects an application binary interface (ABI). The system generates code that, for each parameter, of the one or more parameters required by the function, converts the parameter from a value formatted for use by a Java Virtual machine to a value formatted for use in the native function, based on the selected ABI. Responsive to invocation of the executable reference, the generated code and the native function may be executed.
One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause performance of operations comprising:
A system comprising:
A method comprising:
One or more non-transitory machine-readable media storing instructions that, when executed by one or more processors, cause performance of operations comprising:
A system comprising:
A method comprising:
Dependencies are inferred from the claim text.