-
公开(公告)号:CA2830605A1
公开(公告)日:2015-04-22
申请号:CA2830605
申请日:2013-10-22
Applicant: IBM CANADA
Inventor: WANG KAI-TING AMY , GAO YAOQING , BOETTIGER HANS , OHMACHT MARTIN
IPC: G06F9/44
Abstract: An illustrative embodiment of a computer-implemented process for a computer-implemented process for code versioning for enabling transactional memory region promotion receives a portion of candidate source code and outlines the portion of candidate source code received for parallel execution. The computer-implemented process further wraps a critical region with entry and exit routines to enter into a speculation sub-process, wherein the entry and exit routines also gather conflict statistics at runtime. The outlined code portion is executed to determine to use a particular one of multiple loop versions according to the conflict statistics gathered at run time.