Patents
US 9,256,410 B2#34074198 Most CitedActiveUnited States (USPTO)Utility

Failure profiling for continued code optimization

3Forward Citations (#34074198 Global)
0.3/yrCitation Velocity (#25897516 Global)
0.95Citation PageRank (#44846946 Global)
50Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and an apparatus to continuously re-compile a code are described. The code can be compiled in a speculatively optimized manner from a source code to access an untyped variable according to a type prediction of runtime values for the untyped variable. Failures of the type prediction during the execution can be dynamically tracked. Each failure may be associated a runtime value with a type outside of the type prediction. The type prediction may be adjusted according to the failures tracked for future runtime values of the untyped variable. The source code can be recompiled for execution to optimize the access to the untyped variable for the future runtime values according to the adjusted type prediction.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A machine-readable non-transitory storage medium having instructions therein, which when executed by a machine, cause the machine to perform a method, the method comprising: executing a code compiled from a source code, the source code including an access of an untyped variable, the compiled code being speculatively optimized according to a type prediction for runtime values of the untyped variable, wherein the type prediction corresponds to a collection of possible types for the untyped variable; collecting a subset of the runtime values into a profile database during the execution; tracking

Technical Overview & Description

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

References Cited — Backward Prior Art (50)

PatentTitleYearCitations
US 5,909,578 AUse of dynamic translation to burst profile computer applications199965
US 5,940,621 ALanguage independent optimal size-based storage allocation199927
US 5,995,754 AMethod and apparatus for dynamically optimizing byte-coded programs199977
US 6,077,313 AType partitioned dataflow analyses200068
US 6,151,706 AMethod, system, and computer program product for extending sparse partial redundancy elimination to support speculative code motion within an optimizing compiler200051
US 6,202,202 B1Pointer analysis by type inference for programs with structured memory objects and potentially inconsistent memory object accesses200143
US 6,237,141 B1Method and apparatus for dynamically optimizing byte-coded programs200167
US 6,263,495 B1Method and apparatus for optimizing state transition table used for event-driven software200113
US 6,442,751 B1Determination of local variable type and precision in the presence of subroutines200267
US 2002120428 A1Topological, on-the-fly classification of objects into a global set and local sets—68
US 6,446,257 B1Method and apparatus for pre-allocation of system resources to facilitate garbage collection2002114
US 2002129343 A1Estimation of object lifetime using static analysis—56
US 2002138506 A1Method for efficient garbage collection based on object type—34
US 6,463,582 B1Dynamic optimizing object code translator for architecture emulation and dynamic optimizing object code translation method2002775
US 2002170043 A1Method for dynamically identifying pseudo-invariant instructions and their most common output values on frequently executing program paths—16
US 2003023959 A1General and efficient method for transforming predicated execution to static speculation—58
US 2003093778 A1Method and apparatus for facilitating lazy type tagging for compiled activations—19
US 2003126590 A1System and method for dynamic data-type checking—105
US 2003131347 A1Method and apparatus for runtime binding of object members—51
US 6,629,113 B1Method and system for dynamically adjustable and configurable garbage collector200374
US 6,631,514 B1Emulation system that uses dynamic binary translation and permits the safe speculation of trapping operations2003129
US 2004003382 A1Unification-based points-to-analysis using multilevel typing—14
US 2004060041 A1System and method for jointly managing dynamically generated code and data—39
US 2004093589 A1Profiling of software and circuit designs utilizing data operation analyses—54
US 2004128446 A1Value profiling with low overhead—12
US 6,763,440 B1Garbage collection using nursery regions for new objects in a virtual heap2004133
US 2004199904 A1Method and apparatus for obtaining profile data for use in optimizing computer programming code—33

Non-Patent Literature (5)

  • Arnold, Matthew , et al., "Dynamic Compilation and Adaptive Optimization in Virtual Machines", ACACES '06, IBM Corporation, 184 pgs., (Jul. 2006).
  • Bartlett, Joel F., "Compacting Garbage Collection with Ambiguous Roots," Western Research Laboratory, Palo Alto, California, USA, Feb. 1988 (41 pgs.).
  • Bartlett, Joel F., WRL Technical Note TN-12, "Mostly-Copying Garbage Collection Picks Up Generations and C++" Western Research Laboratory, Palo Alto, California, USA Oct. 1989 (20 pgs.).
  • Bugliesi, et al., "Type Inference for Variant Object Types," Information and Computation 177, 2-27 (2002) pp. 2-27 (26 pgs.).
  • Cheney, C. J., "A Nonrecursive List Compacting Algorithm" Communications of the ACM, vol. 13, No. 11, Nov. 1970, pp. 677-678 (2 pgs.).