Patents
US 8,656,377 B2#33867614 Most CitedActiveUnited States (USPTO)Utility

Tracking variable information in optimized code

3Forward Citations (#33867614 Global)
0.2/yrCitation Velocity (#29049535 Global)
0.99Citation PageRank (#42202812 Global)
34Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Embodiments are directed to tracking variable location information in optimized code and efficiently collecting and storing reaching definition information. A computer system receives a portion of source code at a compiler, where the compiler is configured to compile and optimize the source code for execution. The computer system tags selected variables in the source code with a tag, where the tag is configured to provide location information for the variable. The computer system optimizes the received portion of source code including changing at least one of the tagged variables. The computer system also tracks the tagged variables as the variables are changed by the compiler during code optimization and persists the variable location information, so that the persisted variable location information is available to other compiler components.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    At a computer system including a processor and a memory, a computer-implemented method for tracking variable location information in optimized code, the method comprising the computer system performing the following acts: receiving a portion of source code at a compiler, wherein the compiler is configured to compile and optimize the source code for execution; tagging one or more selected variables in the source code with a tag, wherein the tag is configured to provide location information for the variable and wherein tagging the one or more selected variables occurs before the compiler convert

Technical Overview & Description

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

References Cited — Backward Prior Art (34)

PatentTitleYearCitations
US 5,179,702 ASystem and method for controlling a highly parallel multiprocessor using an anarchy based scheduler for parallel execution thread scheduling1993622
US 5,493,675 ACompiler back end calling predetermined front end routines that use effect and dependency indicators to provide information to the compiler to determine the validity of an optimization1996111
US 5,500,861 AScanning, circuits, systems and methods19969
US 5,590,332 AGarbage collection, tail recursion and first-class continuations in stack-oriented languages1996101
US 5,659,754 AMethod and apparatus for an improved optimizing compiler1997140
US 5,956,512 AComputer program debugging in the presence of compiler synthesized variables199954
US 6,072,952 AMethod and apparatus for coalescing variables200042
US 6,249,910 B1Apparatus and method for incrementally update static single assignment form for cloned variable name definitions200158
US 2002095660 A1Method and apparatus for analyzing software in a language-independent manner—109
US 2002138819 A1Computer programming language to describe and encapsulate a computer as a set of classes and objects—47
US 6,625,797 B1Means and method for compiling high level software languages into algorithmically equivalent hardware representations2003129
US 6,675,378 B1Object oriented apparatus and method for allocating array objects on an invocation stack200441
US 6,678,884 B1Method for determining the status of variables during the execution of optimized code200427
US 2004078784 A1Collection and detection of differences of values of expressions/variables when debugging a computer process—43
US 2004078789 A1Methods and apparatus for determining if a user-defined software function is a memory allocation function during compile-time—16
US 6,795,963 B1Method and system for optimizing systems with enhanced debugging information2004119
US 2005066313 A1Run into function—29
US 6,944,797 B1Method and system for tracing200526
US 6,976,261 B2Method and apparatus for fast, local CORBA object references200515
US 7,058,928 B2System and method for conditional tracing of computer programs2006184
US 7,076,773 B2Object oriented apparatus and method for allocating objects on an invocation stack in a dynamic compilation environment200630
US 2006158354 A1Optimised code generation—69
US 2006248199 A1Shared closure persistence of session state information—14
US 2006294502 A1Programmable annotation inference—52
US 2007028222 A1Free/outer variable capture—21
US 2007113219 A1Representing simulation values of variable in sharpley limited time and space—4
US 2008016496 A1Methods for performining cross module context-sensitive security analysis—14

Non-Patent Literature (5)

  • A Practical, Robust Method for Generating Variable Range Tables-Published Date: Sep. 15, 2000 http://www.hpl.hp.com/techreports/Compaq-DEC/SRC-RR-165.pdf (21 pages).
  • Brooks, Gary, Gilbert J. Hansen, and Steve Simmons. "A new approach to debugging optimized code." ACM SIGPLAN Notices. vol. 27. No. 7. ACM, 1992, pp. 1-11.
  • Bruno Blanchett. Escape Analysis ofr Object Oriented Languages. Application to JavaTM. OOPSLA '99. Nov. 1999, Denver Co, USA. 1999 ACM http:///delivery.acm.org/10.1145/330000/320387/p20-blanchet.pdf?key1=320387&key2=9044683711&coll=GUIDE&CFID=16889188&CFTOKEN=58353024 Last Access Mar. 15, 2007.
  • Comparison Checking: An Approach to Avoid Debugging of Optimized Code-Published Date: 1999 http://www.cs.virginia.edu/~soffa/research/SE/fse99.ps (17 pages).
  • Comparison Checking: An Approach to Avoid Debugging of Optimized Code—Published Date: 1999 http://www.cs.virginia.edu/˜soffa/research/SE/fse99.ps (17 pages).