Invention Grant
- Patent Title: Context-free type recording for virtual machines of dynamic programming languages
-
Application No.: US14808150Application Date: 2015-07-24
-
Publication No.: US09753707B2Publication Date: 2017-09-05
- Inventor: Derek Jay Conrod
- Applicant: Qualcomm Innovation Center, Inc.
- Applicant Address: US CA San Diego
- Assignee: QUALCOMM Innovation Center, Inc.
- Current Assignee: QUALCOMM Innovation Center, Inc.
- Current Assignee Address: US CA San Diego
- Agency: Neugeboren O'Dowd PC
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F3/06 ; G06F9/455 ; G06F9/44

Abstract:
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.
Public/Granted literature
- US20160026446A1 CONTEXT-FREE TYPE RECORDING FOR VIRTUAL MACHINES OF DYNAMIC PROGRAMMING LANGUAGES Public/Granted day:2016-01-28
Information query