Patents
US 8,701,097 B2#13981694 Most CitedActiveUnited States (USPTO)Utility

Partial inlining with software based restart

8Forward Citations (#13981694 Global)
0.7/yrCitation Velocity (#11589167 Global)
1.38Citation PageRank (#25927768 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A compiler and method of optimizing code by partial inlining of a subset of blocks of called blocks of code into calling blocks of code. A restart of the called blocks of code is provided for the case where non-inlined blocks of code are reached at run time. Blocks selected for partial inlining may include global side effects depending on the computer program environment. Global side effects in the selected blocks of code leading to a restart are sanitized in order to defer changes to the global state of the computer program.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of partial inlining called blocks of code into calling blocks of code of a computer program, comprising data processing system implemented steps of: selecting a subset of blocks of the called blocks of code for inlining into the calling blocks of code; creating a restart block to restart the called blocks of code in place of non-selected blocks of the called blocks of code, wherein the restart block contains instructions to exit from the selected blocks of code and call a previously compiled version of the called blocks of code; sanitizing global side effects in the selected subset of

Technical Overview & Description

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

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 5,701,489 ASystem for partial in-line expansion of procedure calls during program compilation199762
US 6,072,951 AProfile driven optimization of frequently executed paths with inlining of code fragment (one or more lines of code from a child procedure to a parent procedure)200069
US 6,195,793 B1Method and computer program product for adaptive inlining in a computer system200137
WO 0,210,909 A2Methods and apparatus for compiling computer programs using partial function inlining—4
US 6,363,521 B1Process for processing programs, process for detecting depth of frame associated with specified method, detection method, and computer200221
US 2002104077 A1Multi-threaded fragment patching—50
US 2002112227 A1Dynamic compiler and method of compiling code to generate dominant path and to handle exceptions—150
US 6,507,946 B2Process and system for Java virtual method invocation200353
US 6,986,130 B1Methods and apparatus for compiling computer programs using partial function inlining200643
US 2006190953 A1Disk recording/reproducer and method for fixing pickup of disc recorder/reproducer—10
US 2007234307 A1Methods and apparatus to inline conditional software instrumentation—24
US 7,293,260 B1Configuring methods that are likely to be executed for instrument-based profiling at application run-time2007133
US 2008059875 A1Method for optimizing character string output processing—16
US 7,526,760 B1Methods for implementing virtual method invocation with shared code200969
US 2009172636 A1Interactive development tool and debugger for web services—58
US 2009193404 A1Method and apparatus for inlining native functions into compiled java code—17
US 7,779,394 B2Software self-defense systems and methods201099
US 8,225,271 B2Apparatus for control systems with objects that are associated with live data201234
US 8,285,958 B1System, method, and computer program product for copying a modified page table entry to a translation look aside buffer201211

Non-Patent Literature (4)

  • Da Silva et al., "Design, Implementation, and Evaluation of a Dynamic Compilation Framework for the YAP System", Lecture Notes in Computer Science, Aug. 27, 2007, pp. 410-424, Springer Berlin / Heidelberg, 1 page.
  • Kalev, "Whole Program Optimization Part II", informIT, Jul. 8, 2005, p. 225 of 458.
  • Merrill et al., "Trace Fragment Selection within Method-based JVMs", VEE '08. Mar. 5-7, 2008, Seattle, Washington, USA, 10 pages.
  • Suganuma et al., "A Region-Based Compilation Technique for a Java Just-In-Time Compiler", PLDI'03, Jun. 9-11, 2003, San Diego, California, USA, 12 pages.