发明名称 |
Constrained transaction execution |
摘要 |
Constrained transactional processing is provided. A constrained transaction is initiated by execution of a Transaction Begin constrained instruction. The constrained transaction has a number of restrictions associated therewith. Absent violation of a restriction, the constrained transaction is to complete. If an abort condition is encountered, the transaction is re-executed starting at the Transaction Begin instruction. Violation of a restriction may cause an interrupt. |
申请公布号 |
US9052946(B2) |
申请公布日期 |
2015.06.09 |
申请号 |
US201313783327 |
申请日期 |
2013.03.03 |
申请人 |
International Business Machines Corporation |
发明人 |
Greiner Dan F.;Jacobi Christian;Slegel Timothy J. |
分类号 |
G06F7/00;G06F17/00;G06F9/46;G06F9/30;G06F9/38 |
主分类号 |
G06F7/00 |
代理机构 |
Heslin Rothenberg Farley & Mesiti P.C. |
代理人 |
Kinnaman, Jr., Esq. William A.;Schiller, Esq. Blanche E.;Heslin Rothenberg Farley & Mesiti P.C. |
主权项 |
1. A method of processing transactions within a computing environment, said method comprising:
obtaining, by a processor, a machine instruction, the machine instruction to initiate a transaction of a specified type, the specified type explicitly indicated in a field of the machine instruction; executing, by the processor, the transaction initiated by the machine instruction, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction; determining, based on executing the transaction, that an abort condition has occurred; checking whether the specified type of transaction is a constrained transaction, the constrained transaction having one or more restrictions associated therewith, and the checking comprising checking the field of the machine instruction to determine whether the transaction is a constrained transaction; and performing processing based on determining the abort condition and dependent on the specified type of transaction, wherein based on the checking indicating the transaction is a constrained transaction and based on the abort condition being a particular type of abort condition, the performing processing comprising returning to a beginning of the transaction to re-execute the transaction, and wherein a fail path, other than returning to the beginning of the transaction, is not provided to handle the abort condition. |
地址 |
Armonk NY US |