Context-free type recording for virtual machines of dynamic programming languages
AssigneeQualcomm Innovation Center, Inc.
InventorDerek Jay Conrod
Life of this patent
Estimating the term…
Loading patent…
AssigneeQualcomm Innovation Center, Inc.
InventorDerek Jay Conrod
Estimating the term…
A method and a computing device for reducing deoptimization in a virtual machine are provided. Source code of a dynamically-typed program is compiled. A context-free type-state recorder records a first data type of a value associated with a particular named memory location within the source code. Optimized code may be generated based on the first data type of the value being a matching data type for global values associated with the particular named memory location. One or more global values associated with the particular named memory location may be type-checked. The context-free type-state recorder may record, if one or more of the global values associated with the particular named memory location is a different data type than the first data type, one or more different data types associated with the particular named memory location. New optimized code may then be generated.
A method for reducing deoptimization in a virtual machine, the method comprising:
A computing device for running dynamically-typed programming languages, comprising;
A non-transitory, tangible computer readable storage medium, encoded with processor readable instructions to perform a method for reducing deoptimization in a virtual machine, the method comprising:
Dependencies are inferred from the claim text.