Patent · US Active

Unifying static and dynamic compiler optimizations in source-code bases

US8959495B2 · kind B2 · utility

79Cited by
10References
16Claims
0Family size

Assignee

Inventors

Key dates

Filing dateSep 14, 2012
Grant dateFeb 17, 2015
Priority date
Expiry dateJan 28, 2033

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F9/45525
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.