发明名称 Selective Compiling Method, Device, and Corresponding Computer Program Product
摘要 A method and compiling device are provided for compiling a software application to be executed on a virtual machine of a physical platform. The software application originally is in the form of a set of codes to be compiled. The method includes a phase of selectively compiling the set of codes to be compiled, outputting a compiled application including a first application part which is executed by the virtual machine using commands from the virtual machine, and a second application part including binary commands which can be executed directly on the physical platform.
申请公布号 US2017075667(A1) 申请公布日期 2017.03.16
申请号 US201615359478 申请日期 2016.11.22
申请人 Google Inc. 发明人 Cabillic Gilbert;Lesot Jean-Philippe
分类号 G06F9/45;G06F9/455 主分类号 G06F9/45
代理机构 代理人
主权项 1. A method for compiling a software application for execution via a virtual machine of a hardware platform, the method comprising: identifying a predetermined portion of a software code for the software application; and prior to execution of the software application, compiling the predetermined portion of the software code to generate a software application part comprising binary instructions for execution on the hardware platform, wherein the compiling comprises incorporating a set of reference instructions enabling the software application part to manage a table for referencing one or more objects used by the software application part, and wherein during execution of the software application: (i) the virtual machine allocates a memory space to the second software application part, (ii) the software application part uses the allocated memory space to store the table and the one or more objects, (iii) the virtual machine accesses the table to determine the one or more objects being used by the software application part within the allocated memory space, and (iv) a garbage collector of the virtual machine removes the determined one or more second objects from the allocated memory space.
地址 Mountain View CA US
您可能感兴趣的专利