Invention Grant
US08156482B2 System and method for efficiently generating native code calls from byte code in virtual machines 有权
用于从虚拟机中的字节码高效地生成本地代码调用的系统和方法

System and method for efficiently generating native code calls from byte code in virtual machines
Abstract:
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.
Information query
Patent Agency Ranking
0/0