Patent · US Expired

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

US7080366B2 · kind B2 · utility

72Cited by
36References
6Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 16, 2001
Grant dateJul 18, 2006
Priority date
Expiry dateMay 30, 2023

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99956
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.