发明名称 |
Reducing aborts caused by a runtime helper called during execution of a transaction block |
摘要 |
A system and method for reducing the number of aborts caused by a runtime helper being called during the execution of a transaction block. When a runtime helper is called during the execution of a transaction block while a program using hardware transactional memory is running, the runtime helper passes ID information indicating the type of runtime helper to an abort handler. When there is an abort caused by a call to a runtime helper, the abort handler responds by acquiring the ID information of the runtime helper that caused the abort, disables the transaction block with respect to a specific type of runtime helper, executes the non-transactional path corresponding to the transaction block, and re-enables the transaction block when predetermined conditions are satisfied. |
申请公布号 |
US9501314(B2) |
申请公布日期 |
2016.11.22 |
申请号 |
US201414769739 |
申请日期 |
2014.01.21 |
申请人 |
International Business Machines Corporation |
发明人 |
Castanos Jose G.;Nakaike Takuya;Odaira Rei;Wu Peng |
分类号 |
G06F9/46 |
主分类号 |
G06F9/46 |
代理机构 |
Scully, Scott, Murphy & Presser, P.C. |
代理人 |
Scully, Scott, Murphy & Presser, P.C. ;Razavi, Esq. Keivan |
主权项 |
1. An abort reducing method for a computer to reduce the number of aborts while running a program using hardware transactional memory, the abort reducing method comprising the steps of:
(a) the computer running a runtime helper in response to a call to the runtime helper during execution of a transaction block; (b) the computer running an abort handler in response to an abort caused by the call to the runtime helper; and (c) the computer running a non-transactional path corresponding to the transaction block after the abort handler in (b) has been run; the execution of the runtime helper including the process of passing ID information indicating the type of runtime helper to the abort handler; and the execution of the abort handler including the processes of acquiring the ID information of the runtime helper causing the abort and disabling the transaction block with respect to a specific type of runtime helper. |
地址 |
Armonk NY US |