Patents
US 7,797,690 B2#10833687 Most CitedExpiredUnited States (USPTO)Utility

System, method and program product to optimize code during run time

10Forward Citations (#10833687 Global)
0.6/yrCitation Velocity (#12611659 Global)
1.56Citation PageRank (#21585884 Global)
34Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

System, process and program product for optimizing a computer program during run time. During run time, a determination is made whether the computer program calls a method which includes a conditional evaluation of a variable which is fixed and the evaluation of the fixed variable does not result in anything productive being accomplished except to return to execution of the computer program. If so, the call to the method which includes the conditional evaluation is deleted from the computer program for subsequent iterations of the computer program. Consequently, the subsequent execution of the computer program will yield a same result as if the conditional evaluation was executed. If the evaluation of the fixed variable results in something productive being accomplished, the call to the method which includes the conditional evaluation is not deleted from the subsequent execution of the computer program.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A process for optimizing a computer program during run time, said computer program including a call to a first method, said first method including a call to a second method, said process comprising the steps of: during run time, a processor of a computer determining if said second method includes a conditional evaluation of a variable which is fixed such that the execution of said second method does not result in anything productive being accomplished except to return to said first method, and if so, deleting in said first method said call to said second method, and if not, not deleting said c

  2. Claim 2Depends on #1

    A process as set forth in claim 1 wherein said first method also includes instructions to compute an argument required for said call to said second method, and said second method includes a conditional evaluation of a varia

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,522,072 AArrangement for efficiently transferring program execution between subprograms199618
US 5,794,044 ASystem and method for runtime optimization of private variable function calls in a secure interpreter199833
US 5,907,711 AMethod and apparatus for transforming multiplications into product table lookup references199921
US 6,101,326 AMethod and apparatus for frame elimination for simple procedures with tail calls200020
WO 0,129,662 A2Compiler having real-time tuning, i/o scaling and process test capability—3
US 6,286,135 B1Cost-sensitive SSA-based strength reduction algorithm for a machine with predication support and segmented addresses2001172
US 6,363,522 B1Method and apparatus for handling exceptions as normal control flow200242
US 2002095669 A1Interprocedural dead store elimination—27
US 6,427,234 B1System and method for performing selective dynamic compilation using run-time information2002384
US 6,463,581 B1Method for determining reachable methods in object-oriented applications that use class libraries200275
US 2002174418 A1Constant return optimization transforming indirect calls to data fetches—16
US 2003079206 A1Debugger capable of providing warnings for unreachable breakpoints—13
US 6,588,009 B1Method and apparatus for compiling source code using symbolic execution200347
US 6,598,181 B1Method and system for debugging multiple function calls200333
US 2003149969 A1Method, computer unit and program for converting a program—18
US 6,654,951 B1Removal of unreachable methods in object-oriented applications based on program interface analysis200333
US 2004015925 A1Method, article of manufacture and apparatus for performing automatic intemodule call linkage optimization—19
US 2004015917 A1System and method for range check elimination via iteration splitting in a dynamic compiler—16
US 2004019770 A1Optimization apparatus, compiler program, optimization method and recording medium—43
US 6,728,952 B1Identification of vacuous predicates in computer programs200410

Non-Patent Literature (5)

  • Aho et al., "Compilers -Principles, Techniques and Tools". Addison Wesley Publishing Company. ISBN 0-201-10088-6., pp. 1-149.
  • Aho et al., "Compilers -Principles, Techniques and Tools". Addison Wesley Publishing Company. ISBN 0-201-10088-6., pp. 1-3.
  • Auslander et al (SIGPLAN Notices, vo. 31, No. 5, pp. 149-159, May 1996).
  • Calder et al (Proceed of 13th Annual IEEE/ACM Int. Symp. On Microarchitecture, pp. 259-269, 1997).
  • Hover et al., "Tail-Call Optimization Constant Folding and Propagation, and Dead-Code Eliminatioin", Dec. 11, 2009, retrieved from , total pp. 7.