发明名称 METHOD AND APPARATUS FOR INLINING NATIVE FUNCTIONS INTO COMPILED JAVA CODE
摘要 A method, apparatus, and computer instructions are provided for inlining native functions into compiled Java code. A conversion engine is provided by the present invention for converting the intermediate representation of native functions to the just-in-time (JIT) compiler's intermediate representation. With the converted intermediate representation, an inliner recursively inlines the converted JIT compiler's intermediate representation into the native callsite to remove the need of invoking the native function and subsequent native calls made by the function. The inlining process continues until either a call to an opaque function is encountered or until a JIT compiler intermediate representation growth limits are reached. The inliner also replaces calls to most native functions that are non-inlineable or opaque with calls to synthesized native functions that provide access to native libraries containing implementations of the original non-inlineable calls.
申请公布号 US2009193404(A1) 申请公布日期 2009.07.30
申请号 US20090418989 申请日期 2009.04.06
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KIELSTRA ALLAN HENRY;STEPANIAN LEVON SASSOON;STOODLEY KEVIN ALEXANDER
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址
您可能感兴趣的专利