Invention Grant
- Patent Title: Value profiling for code optimization
- Patent Title (中): 价值分析代码优化
-
Application No.: US13593404Application Date: 2012-08-23
-
Publication No.: US09027006B2Publication Date: 2015-05-05
- Inventor: Filip J. Pizlo , Gavin Barraclough
- Applicant: Filip J. Pizlo , Gavin Barraclough
- Applicant Address: US CA Cupertino
- Assignee: Apple Inc.
- Current Assignee: Apple Inc.
- Current Assignee Address: US CA Cupertino
- Agency: Blakely, Sokoloff, Taylor & Zafman LLP
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/45 ; G06F11/34

Abstract:
A method and an apparatus to execute a code with value profiling are described. The code may include an access to an untyped variable. During the execution, runtime values of the untyped variable may be randomly inspected. A value profile may be established to predict one or more expected types of future runtime values for the untyped variable. The code may be recompiled according to the value profile to optimize the access of the untyped variable for the future runtime values.
Public/Granted literature
- US20140047420A1 Value Profiling for Code Optimization Public/Granted day:2014-02-13
Information query