Runtime state based code re-optimization
US11016743B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 17, 2016 |
| Grant date | May 25, 2021 |
| Priority date | — |
| Expiry date | Mar 17, 2036 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F2201/88
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method and an apparatus to execute a code compiled from a source code to access an untyped variable are described. An optimized access code may be compiled in the code with speculative optimization via a type prediction of runtime value of the untyped variable. Invalidity of the type prediction may be dynamically detected for future runtime values of the untyped variable. The code may be updated with an access code compiled for the access without the speculative optimization based on the invalidity detection. The updated code can be executed for the access to the untyped variable without executing the optimized access code.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.