Dynamic compiler and method of compiling code to generate dominant path and to handle exceptions
US7080366B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | May 16, 2001 |
| Grant date | Jul 18, 2006 |
| Priority date | — |
| Expiry date | May 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.