UNIFYING STATIC AND DYNAMIC COMPILER OPTIMIZATIONS IN SOURCE-CODE BASES
    1.
    发明申请
    UNIFYING STATIC AND DYNAMIC COMPILER OPTIMIZATIONS IN SOURCE-CODE BASES 有权
    源代码基础中的统一静态和动态编译器优化

    公开(公告)号:US20140082597A1

    公开(公告)日:2014-03-20

    申请号:US13620124

    申请日:2012-09-14

    IPC分类号: G06F9/45

    摘要: Techniques are described for unifying static and dynamic compiler optimizations in source code bases. In an embodiment, a first compiler compiles source code of a target function to generate ahead-of-time (AOT) compiled machine code. A second compiler compiles the source code to generate an intermediate representation (IR) of the target function. In response to determining that the target function should be just-in-time (JIT) compiled, the AOT-compiled machine code for the target function is linked to the IR of the target function. During runtime, a physical processor executes AOT-compiled machine code of an executable program. When the target function is encountered for the first time, a JIT compiler is invoked. The JIT compiler generates JIT-compiled machine code for the target function. The physical processor executes the JIT-compiled machine code in place of the AOT-compiled machine code for the target function.

    摘要翻译: 描述了在源代码库中统一静态和动态编译器优化的技术。 在一个实施例中,第一编译器编译目标函数的源代码以生成预先(AOT)编译的机器码。 第二个编译器编译源代码以生成目标函数的中间表示(IR)。 响应于确定目标函数应该是即时编译(JIT),目标函数的AOT编译机器代码链接到目标函数的IR。 在运行时,物理处理器执行AOT编译的可执行程序的机器代码。 当第一次遇到目标函数时,将调用JIT编译器。 JIT编译器为目标函数生成JIT编译的机器代码。 物理处理器执行JIT编译的机器代码,代替目标函数的AOT编译机器代码。

    Virtual Machine Persisted Within Itself
    2.
    发明申请
    Virtual Machine Persisted Within Itself 审中-公开
    虚拟机本身坚持

    公开(公告)号:US20130167144A1

    公开(公告)日:2013-06-27

    申请号:US12554597

    申请日:2009-09-04

    IPC分类号: G06F9/455

    CPC分类号: G06F9/45504

    摘要: A computer-implemented method includes generating an intermediate representation of a virtual machine. The method includes generating an executable for the virtual machine. The method includes persisting at least part of the intermediate representation in the executable. A virtual machine tangibly stored in a computer-readable storage device, and a computer system, are also disclosed.

    摘要翻译: 计算机实现的方法包括生成虚拟机的中间表示。 该方法包括为虚拟机生成可执行文件。 该方法包括将至少部分中间表示持续到可执行文件中。 还公开了有形地存储在计算机可读存储设备中的虚拟机以及计算机系统。

    Unifying static and dynamic compiler optimizations in source-code bases
    3.
    发明授权
    Unifying static and dynamic compiler optimizations in source-code bases 有权
    在源代码库中统一静态和动态编译器优化

    公开(公告)号:US08959495B2

    公开(公告)日:2015-02-17

    申请号:US13620124

    申请日:2012-09-14

    IPC分类号: G06F9/45

    摘要: Techniques are described for unifying static and dynamic compiler optimizations in source code bases. In an embodiment, a first compiler compiles source code of a target function to generate ahead-of-time (AOT) compiled machine code. A second compiler compiles the source code to generate an intermediate representation (IR) of the target function. In response to determining that the target function should be just-in-time (JIT) compiled, the AOT-compiled machine code for the target function is linked to the IR of the target function. During runtime, a physical processor executes AOT-compiled machine code of an executable program. When the target function is encountered for the first time, a JIT compiler is invoked. The JIT compiler generates JIT-compiled machine code for the target function. The physical processor executes the JIT-compiled machine code in place of the AOT-compiled machine code for the target function.

    摘要翻译: 描述了在源代码库中统一静态和动态编译器优化的技术。 在一个实施例中,第一编译器编译目标函数的源代码以生成预先(AOT)编译的机器码。 第二个编译器编译源代码以生成目标函数的中间表示(IR)。 响应于确定目标函数应该是即时编译(JIT),目标函数的AOT编译机器代码链接到目标函数的IR。 在运行时,物理处理器执行AOT编译的可执行程序的机器代码。 当第一次遇到目标函数时,将调用JIT编译器。 JIT编译器为目标函数生成JIT编译的机器代码。 物理处理器执行JIT编译的机器代码,代替目标函数的AOT编译机器代码。