Invention Grant
- Patent Title: Static profitability control for speculative automatic parallelization
- Patent Title (中): 投机自动并行化的静态盈利能力控制
-
Application No.: US12113716Application Date: 2008-05-01
-
Publication No.: US08677337B2Publication Date: 2014-03-18
- Inventor: Yonghong Song , Spiros Kalogeropulos , Partha P. Tirumalai
- Applicant: Yonghong Song , Spiros Kalogeropulos , Partha P. Tirumalai
- Applicant Address: US CA Redwood Shores
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood Shores
- 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. Having identified one or more suitable candidates, the profitability of parallelizing the candidate code is determined. If the profitability determination meets a predetermined criteria, then the candidate code may be parallelized. If, however, the profitability determination does not meet the predetermined criteria, then the candidate code may not be parallelized. Candidate code may comprises a loop, and determining profitability of parallelization may include computing a probability of transaction failure for the loop. Additionally, a determination of an execution time of a parallelized version of the loop is made. If the determined execution time is less than an execution time of a non-parallelized version of said loop by at least a given amount, then the loop may be parallelized. If the determined execution time is not less than an execution time of a non-parallelized version of said loop by at least a given amount, then the loop may not be parallelized.
Public/Granted literature
- US20090276758A1 STATIC PROFITABILITY CONTROL FOR SPECULATIVE AUTOMATIC PARALLELIZATION Public/Granted day:2009-11-05
Information query