Invention Grant
- Patent Title: Runtime profitability control for speculative automatic parallelization
- Patent Title (中): 投机自动并行化的运行时获利控制
-
Application No.: US12113706Application Date: 2008-05-01
-
Publication No.: US08359587B2Publication Date: 2013-01-22
- Inventor: Yonghong Song , Spiros Kalogeropulos , Partha P. Tirumalai
- Applicant: Yonghong Song , Spiros Kalogeropulos , Partha P. Tirumalai
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Rory D. Rankin
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A compilation method and mechanism for parallelizing program code. A method for compilation includes analyzing source code and identifying candidate code for parallelization. The method includes parallelizing the candidate code, in response to determining said profitability meets a predetermined criteria; and generating object code corresponding to the source code. The generated object code includes both a non-parallelized version of the candidate code and a parallelized version of the candidate code. During execution of the object code, a dynamic selection between execution of the non-parallelized version of the candidate code and the parallelized version of the candidate code is made. Changing execution from said parallelized version of the candidate code to the non-parallelized version of the candidate code, may be in response to determining a transaction failure count meets a pre-determined threshold. Additionally, changing execution from one version to the other may be in further response to determining an execution time of the parallelized version of the candidate code is greater than an execution time of the non-parallelized version of the candidate code.
Public/Granted literature
- US20090276766A1 RUNTIME PROFITABILITY CONTROL FOR SPECULATIVE AUTOMATIC PARALLELIZATION Public/Granted day:2009-11-05
Information query