发明名称 SYSTEM AND METHOD FOR EFFICIENTLY GENERATING NATIVE CODE CALLS FROM BYTE CODE IN VIRTUAL MACHINES
摘要 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.
申请公布号 US2008127143(A1) 申请公布日期 2008.05.29
申请号 US20080028653 申请日期 2008.02.08
申请人 BEA SYSTEMS, INC. 发明人 LAGERGREN MARCUS
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址