Speculative object representation
US9235433B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Oct 23, 2013 |
| Grant date | Jan 12, 2016 |
| Priority date | — |
| Expiry date | Jan 23, 2034 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F9/4552
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for optimizing code includes receiving, by a compiler and from an interpreter, a code section representation including an object allocation, compiling, by the compiler, the code section representation into machine code with a compact allocated object of the object allocation, and triggering a deoptimization returning execution to the interpreter in response to an attempted access of the compact allocated object. The method further includes setting, by the interpreter and within the code section representation, a flag indicating that a new compact allocated object is required at a location of the attempted access, receiving, by the compiler, the code section representation including the flag, compiling, by the compiler and according to the flag, the code section representation into new machine code including the new compact allocated object, and executing the new machine code with the new compact allocated object.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.