Patents
US 8,959,495 B2#8691928 Most CitedActiveUnited States (USPTO)Utility

Unifying static and dynamic compiler optimizations in source-code bases

12Forward Citations (#8691928 Global)
1.1/yrCitation Velocity (#5886569 Global)
1.63Citation PageRank (#20137512 Global)
21Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 12.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method comprising: executing ahead-of-time (AOT) compiled code for a particular program; detecting that a target function of the particular program should be just-in-time (JIT) compiled; in response to detecting that the target function of the particular program should be JIT compiled, generating a JIT-compiled version of the target function; patching an AOT-compiled version of the target function to the JIT-compiled version of the target function; and in response to patching the AOT-compiled version of the target function to the JIT-compiled version of the target function, executing the JIT

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the JIT-co

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (21)

PatentTitleYearCitations
US 5,590,329 AMethod and apparatus for detecting memory access errors1996193
US 5,907,709 ADevelopment system with methods for detecting invalid use and management of resources and memory at runtime1999158
US 6,151,703 ADevelopment system with methods for just-in-time compilation of programs2000147
US 6,259,958 B1Call mechanism for static and dynamic linked functions within an object-oriented controller using heterogeneous development tool sets200144
US 6,327,704 B1System, method, and product for multi-branch backpatching in a dynamic translator200179
US 6,427,234 B1System and method for performing selective dynamic compilation using run-time information2002384
US 2006048114 A1Method and apparatus for dynamic compilation of selective code blocks of computer programming code to different memory locations—69
US 2006090157 A1Method of executing virtual machine application program and digital broadcast receiver using the same—17
US 2006130021 A1Automated safe secure techniques for eliminating undefined behavior in computer software—93
US 7,200,837 B2System, method and software for static and dynamic programming and configuration of an adaptive computing architecture200732
US 2007157166 A1System, method and software for static and dynamic programming and configuration of an adaptive computing architecture—24
US 2007168949 A1System supporting object-oriented constructs in ECMAScript—54
US 2009064113 A1Method and system for dynamic loop transfer by populating split variables—23
EP 1,618,474 B1Apparatus and methods for desynchronizing object-oriented software applications in managed runtime environments20094
US 2009249316 A1Combining static and dynamic compilation to remove delinquent loads—8
US 2009282393 A1Securing Software By Enforcing Data Flow Integrity—79
US 7,689,979 B1Methods and apparatus to improve application launch time201020
US 7,996,826 B2Method of executing virtual machine application program and digital broadcast receiver using the same201110

Non-Patent Literature (5)

  • Arnold, Matthew et al., Dynamic Compilation and Adaptive Optimization in Virtual Machines, 2006, 184 pages.
  • Bohm, Igor et al., Generalized Just-in-Time Trace Compilation using a Parallel Task Farm in a Dynamic Binary Translator, 2011, pp. 74-85.
  • Erhardt, Christoph et al., Exploiting Static Application Knowledge in a Java Compiler for Embedded Systems: A Case Study, 2011, pp. 96-105.
  • Fulton, Mike et al., Compilation Techniques for Real-Time Java Programs, 2007, 11 pages.
  • Lim, Yeong-Kyu et al., A Selective Ahead-of-Time Compiler on Android Device, 2012, 6 pages.