发明名称 Randomized testing within transactional execution
摘要 Task specific diagnostic controls are provided to facilitate the debugging of certain types of abort conditions. The diagnostic controls may be set to cause transactions to be selectively aborted, allowing a transaction to drive its abort handler routine for testing purposes. The controls include, for instance, a transaction diagnostic scope and a transaction diagnostic control. The transaction diagnostic scope indicates when the transaction diagnostic control is to be applied, and the transaction diagnostic control indicates whether transactions are to selectively aborted.
申请公布号 US9384004(B2) 申请公布日期 2016.07.05
申请号 US201213524796 申请日期 2012.06.15
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Greiner Dan F.;Jacobi Christian;Slegel Timothy J.
分类号 G06F9/38;G06F9/46;G06F11/36;G06F11/14 主分类号 G06F9/38
代理机构 Heslin Rothenberg Farley & Mesiti P.C. 代理人 Kinnaman, Jr., Esq. William A.;Schiller, Esq. Blanche E.;Heslin Rothenberg Farley & Mesiti P.C.
主权项 1. A computer system for controlling execution of transactions in a computing environment, said computer system comprising: a memory; and a processor in communications with the memory, wherein the computer system is configured to perform a method, said method comprising: initiating a transaction in a computing environment, the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction; anddetermining, by the processor, whether the transaction is to be aborted, the determining employing one or more controls of a control register used by the processor, the one or more controls to indicate whether transactions are to be randomly selected to be aborted for testing purposes, and wherein the control register comprises: a transaction diagnostic control, wherein a first value of the transaction diagnostic control indicates transactions are not to be aborted based on the transaction diagnostic control, a second value of the transaction diagnostic control indicates each transaction is to be aborted based on the transaction diagnostic control, and a third value of the transaction diagnostic control indicates transactions are to be randomly selected to be aborted; anda transaction diagnostic scope to indicate whether the transaction diagnostic control is to be applied, wherein a first value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied based on the processor being in a problem state or a supervisor state, and a second value of the transaction diagnostic scope indicates the transaction diagnostic control is to be applied exclusive to the processor being in the problem state.
地址 Armonk NY US