Patents
US 9,027,006 B2#16146013 Most CitedActiveUnited States (USPTO)Utility

Value profiling for code optimization

7Forward Citations (#16146013 Global)
0.6/yrCitation Velocity (#12451786 Global)
1.28Citation PageRank (#29340634 Global)
48Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method and an apparatus to execute a code with value profiling are described. The code may include an access to an untyped variable. During the execution, runtime values of the untyped variable may be randomly inspected. A value profile may be established to predict one or more expected types of future runtime values for the untyped variable. The code may be recompiled according to the value profile to optimize the access of the untyped variable for the future runtime values.

Interactive Citation Constellation Global Citation Ranking

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

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 compiled code of a source code, the source code including an access of an untyped variable, wherein runtime data of the execution includes structures allocated for runtime values assigned to the untyped variable; storing at least one of the runtime values assigned to the untyped variable in a storage location without specifying a type; randomly inspecting, during the execution, the runtime values assigned to th

Technical Overview & Description

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

References Cited — Backward Prior Art (48)

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 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,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,631,514 B1Emulation system that uses dynamic binary translation and permits the safe speculation of trapping operations2003129
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 6,763,440 B1Garbage collection using nursery regions for new objects in a virtual heap2004133
US 2004268328 A1Extensible type system for representing and checking consistency of program components during the process of compilation—26
US 6,865,657 B1Garbage collector for a virtual heap2005129
US 2005055680 A1Creating and checking runtime data types—25

Non-Patent Literature (5)

  • Bartlett, Joel F., "Compacting Garbage Collection with Ambiguous Roots," Western Research Laboratory, Feb. 1988 (41 pages).
  • Bartlett, Joel F., WRL Technical Note TN-12, "Mostly-Copying Garbage Collection Picks Up Generations and C++", Western Research Laboratory, Oct. 1989 (20 pages).
  • 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).
  • Chilimbi, Trishul M. et al., "Low-Overhead Memory Leak Detection Using Adaptive Statistical Profiling," ACM, ASPLOS'04, Oct. 9-13, 2004, Boston, MA (pp. 156-164).