Patents
US 5,995,754 A#402031 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for dynamically optimizing byte-coded programs

77Forward Citations (#402031 Global)
2.9/yrCitation Velocity (#999245 Global)
22.82Citation PageRank (#268019 Global)
3Prior Art Cited
2Claims (2 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods and apparatus for dynamically determining whether portions of code should be interpreted or compiled in order to optimize a software application during run-time are disclosed. According to one aspect of the present invention, computer-implemented method for run-time processing of a computer program which includes byte-codes arranged as a plurality of methods includes invoking a first method selected from the plurality of methods. Invoking the first selected method involves interpreting the first selected method. An invocation tracker which is arranged to track the number of invocations of the first selected method is updated, and a determination is made regarding when the invocation tracker indicates that the number of invocations of the first selected method exceeds a threshold value. The first selected method is compiled when it is determined that the invocation tracker indicates that the number of invocations of the first selected method exceeds a threshold value. This threshold value is periodically adjusted to keep the compilation and the interpretation overheads within acceptable ranges.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 2 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method for processing a computer program during run-time, the program including byte codes, the byte codes being arranged as a plurality of methods, the computer-implemented method comprising: invoking a first method selected from the plurality of methods, wherein invoking the first selected method includes interpreting the first selected method; updating an invocation tracker arranged to track a number of invocations of the first selected method; determining when the invocation tracker indicates that the number of invocations of the first selected method exceeds a t

  2. Claim 2Independent Claim

    A computer-implemented method a

Technical Overview & Description

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

Non-Patent Literature (5)

  • Holzle, Urs and Ungar, David, A Third Generation SELF Implementation: Reconciling Responsiveness with Performance, OOPSLA and ACM, Oct. 1994.
  • Holzle, Urs and Ungar, David, A Third-Generation SELF Implementation: Reconciling Responsiveness with Performance, OOPSLA and ACM, Oct. 1994.
  • Holzle, Urs and Ungar, David, Optimizing Dynamically Dispatched Calls with Run Time Type Feedback, SIGPLAN and ACM, Jun. 1994.
  • Holzle, Urs and Ungar, David, Optimizing Dynamically-Dispatched Calls with Run-Time Type Feedback, SIGPLAN and ACM, Jun. 1994.
  • Holzle, Urs and Ungar, David, Reconciling Responsiveness with Performance in Pure Object Oriented Languages, ACM Transactions on Programming Languages and Systems, vol. 18, No. 4, pp. 355 400, Jul. 1996.