Self-optimizing interpreter and snapshot compilation
US8930920B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Dec 31, 2012 |
| Grant date | Jan 6, 2015 |
| Priority date | — |
| Expiry date | Feb 24, 2033 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4552
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for a compiler includes receiving, by the compiler and from an interpreter, a representation of a code section having a control path that changes the representation. The representation has profiling data, and the profiling data has a threshold. The method further includes performing, by the compiler and based on the threshold, a partial evaluation of the interpreter executing the representation, compiling, by the compiler, a machine code of the representation, with the control path replaced by a deoptimization point during the compilation of the machine code, triggering the deoptimization point during execution of the machine code, and returning execution to the interpreter based on the triggering.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.