Patents
US 6,973,644 B2#7597866 Most CitedExpiredUnited States (USPTO)Utility

Program interpreter

13Forward Citations (#7597866 Global)
0.6/yrCitation Velocity (#12800774 Global)
2.47Citation PageRank (#10386259 Global)
16Prior Art Cited
3Claims (1 Indep. · 2 Dep.)
0Drawings / Sheets

Abstract

A method and system is provided that allows a well-behaved program to execute more quickly than dynamically typed programming languages did in the past, thereby allowing a the dynamically typed language to be competitive with static declarative programming languages. A method includes converting lines of source code representing functions to byte-codes representing functions, selecting a subsequence of the byte-codes based on the byte-codes and the dynamic run-time properties of program variables, generating processor instructions in a compiler for the subsequence, and interpreting the byte-codes not contained in the subsequence.

Interactive Citation Constellation Global Citation Ranking

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

Claims (3 — 1 Independent, 2 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method comprising steps of: converting lines of source code representing functions to byte-codes representing functions; selecting a subsequence of byte-codes based on the byte-codes and dynamic run-time properties of variables referenced by the byte-codes; generating processor instructions in a compiler for the subsequence; and generating alternate byte-codes in an accelerated interpreter for at least a portion of the byte-codes not contained in the subsequence.

  2. Claim 2Depends on #1

    The method of claim 1 in which the properties comprise at least one of variable type or variable shape.

  3. Claim 3Depends on #2

    The method of claim 2 in which selecting comprises: analyzing the type and shape of the variables referenced by the byte-codes; and determining whether at least one of the type or shape is modified.

Technical Overview & Description

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

References Cited — Backward Prior Art (16)

PatentTitleYearCitations
US 5,848,274 AIncremental byte code compilation system1998214
US 5,860,008 AMethod and apparatus for decompiling a compiled interpretive code199945
US 5,903,761 AMethod of reducing the number of instructions in a program code sequence199970
US 5,933,635 AMethod and apparatus for dynamically deoptimizing compiled activations199954
US 6,118,940 AMethod and apparatus for benchmarking byte code sequences2000105
US 6,237,141 B1Method and apparatus for dynamically optimizing byte-coded programs200167
US 6,275,985 B1Method and apparatus for developing an application that implements garbage collection efficiently by combining proxy objects with compiler support200114
US 6,327,702 B1Generating a compiled language program for an interpretive runtime environment2001116
US 6,336,213 B1Method and apparatus for dynamic selection of which bytecodes should be just in time compiled200252
US 6,643,842 B2Byte code instrumentation200398
US 6,647,547 B1Program conversion apparatus for eliminating unnecessary indications of dynamic memory allocation from a source program and generating an executable program200324
US 6,694,507 B2Method and apparatus for analyzing performance of object oriented programming code200450
US 6,826,749 B2Java hardware accelerator using thread manager200448
US 6,832,369 B1Object oriented method and apparatus for class variable initialization200441
US 6,857,118 B2Function values in computer programming languages having dynamic types and overloading200552
US 6,865,734 B2Method and apparatus for performing byte-code optimization during pauses200525

Non-Patent Literature (5)

  • TITLE: A Type System for Java Bytecode Subroutine, author: Stata et al, ACM, 1998.
  • TITLE: Compiling Standard ML to Java Byte codes, author: Benton et al, ACM, 1998.
  • TITLE: Fast, effective code generation in a Just-in-time Java Compiler, author: Adi-Tabatabai et al, ACM, 998.
  • TITLE: Partial method compilation using dynamic profile information, author: Whaley, ACM, 2001.
  • TITLE: Performance Measurement of Dynamically Compiled Java Excut ions, author: Newhall et al, ACM, 1999.