Patents
US 7,080,366 B2#589955 Most CitedExpiredUnited States (USPTO)Utility

Dynamic compiler and method of compiling code to generate dominant path and to handle exceptions

64Forward Citations (#589955 Global)
3.2/yrCitation Velocity (#770736 Global)
6.41Citation PageRank (#2214163 Global)
37Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A dynamic compiler and method of compiling code to generate a dominate path and handle exceptions. The dynamic compiler includes an execution history recorder that is configured to record the number of times a fragment of code is interpreted. When the code is interpreted a threshold number of times, the code is queued for compilation. The execution history recorder also keeps track of where transfer of control came from and where transfer of control goes to for each fragment of code that is executed, thereby allowing for compilation of a dominant path of code. If the execution of code deviates from the dominant path of compiled code (such as when an exception occurs), a fallback interpreter is utilized to interpret the fragment of code to be executed.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A dynamic compiler, comprising: an execution history recorder configured to record a fragment of code and the number of times the fragment of code is executed; the execution history recorder having an interpreter, a compiler manager coupled thereto and a threshold number of executions for a threshold comparison with a recorded number of times to determine a dominant path having a fragment to be compiled therein; a compiler queue of fragments to be compiled for receiving the fragment to be compiled and a successor fragment wherein the successor fragment is determined by the execution history re

Technical Overview & Description

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

Cited By — Indexed Forward Citations (15 of 64 total)

PatentTitleYearCitations
US 2015278516 A1Return-target restrictive return from procedure instructions, processors, methods, and systems—28
US 12,236,219 B2Tuning optimization to reduce compilation delays20250
US 2007226700 A1Dynamic incremental compiler and method—32
US 2004117803 A1System and method for dynamic exception handling—30
US 2007106983 A1Architecture for generating intermediate representations for program code conversion—7
US 2004221277 A1Architecture for generating intermediate representations for program code conversion—7
US 8,196,122 B2Data flow analysis of transactional processes201212
US 2014067886 A1Information processing apparatus, method of outputting log, and recording medium—7
US 8,806,465 B2Refactor exception class hierarchy for reduced footprint and faster application start20140
US 2004030423 A1Program conversion and data processor—2
US 8,473,935 B2Just-ahead-of-time compilation201311
US 2011191095 A1Method and system for efficient emulation of multiprocessor address translation on a multiprocessor—3
US 9,921,842 B2Guest instruction block with near branching and far branching sequence construction to native instruction block20182
US 7,950,005 B2Method and apparatus for performing versioning for loop, method and apparatus for collecting array range check information in basic blocks, method for modifying array range check information, method for optimizing array range checks, method for generating codes for array range checks, method and apparatus for eliminating redundant array range checks, method for selecting array range checks, method for modifying array range checks, method for collecting array range checks, and method for determining handling of array range checks20114
US 10,185,567 B2Multilevel conversion table cache for translating guest instructions to native instructions20190

References Cited — Backward Prior Art (37)

PatentTitleYearCitations
US 4,675,829 AMethod and apparatus for building knowledge-based systems1987110
US 4,924,408 ATechnique for compilation of knowledge bases199078
US 5,210,876 AMethod for calling interpreter language procedure from compiler language procedure199363
US 5,301,260 AInference processor using data consistency holder199438
US 5,301,325 AUse of stack depth to identify architechture and calling standard dependencies in machine code199495
US 5,339,436 AMethod of implementing a relocated compiled library program with an interpreter to control a manufacturing line199429
US 5,367,685 AMethod and apparatus for resolving data references in generated code1994233
US 5,428,618 ADebugger apparatus and method having an event history recording capability199548
US 5,442,792 AExpert system compilation method199593
US 5,450,575 AUse of stack depth to identify machine code mistakes1995124
US 5,452,457 AProgram construct and methods/systems for optimizing assembled code for execution1995100
US 5,469,574 AMethod and system for interfacing interpreted applications with compiled procedures using signature files199549
US 5,530,964 AOptimizing assembled code for execution using execution statistics collection, without inserting instructions in the code and reorganizing the code based on the statistics collected1996111
US 5,551,040 AMethods and apparatus for specifying the contexts of names in callback-style programming199660
US 5,590,329 AMethod and apparatus for detecting memory access errors1996193

Non-Patent Literature (4)

  • Dyadkin, L.J.-Multibox Parsers-ACM Sigplan Notices, Association for Comuting Machinery, New York, vol. 29, No. 7, Jul. 1, 1994, p. 54-60.
  • Java Native Interface Specification-Java Native Interface Specification Release May 16, 1997, Sun Microsystems, Inc., California.
  • Java World-Di Giorgio-Jul. 1997-Use native methods to expand the Java environment.
  • Karaorman, M. et al.-jContractor: a reflective Java library to support design by contract-V 1616, Jul. 19-21, 1999, pp. 175-196,Saint-Malo, Fr.