System and method for efficiently generating native code calls from byte code in virtual machines
AssigneeBEA Systems, Inc.
InventorMarcus Lagergren
Life of this patent
Estimating the term…
Loading patent…
AssigneeBEA Systems, Inc.
InventorMarcus Lagergren
Estimating the term…
A system and method for generation of efficient calls from compiled byte code within a virtual machine (VM) or Java Virtual Machine (JVM) environment. Current techniques used to interface dynamically compiled byte code with native libraries using stubs are unsatisfactory due to non-optimal performance and the large amount of manual work needed to maintain the stub generation code. An embodiment of the present invention addresses this by providing a system and a method for automatic stub generation based on a small set of parameters stored in a ParamInfo structure. In accordance with an embodiment, the system comprises a computer with native libraries; a virtual machine for executing a software application; a memory space for the compiled byte code; and a compiler with a calling convention adaptor that integrates native calls into the high level analysis step of the compilation of byte codes, so that the overhead for the native call is reduced.
A system for generating native code calls from byte code in virtual machines, comprising:
A method for generating native code calls from byte code in virtual machines, comprising the steps of:
Dependencies are inferred from the claim text.