发明名称 ALERTING HARDWARE TRANSACTIONS THAT ARE ABOUT TO RUN OUT OF SPACE
摘要 A transactional memory system determines whether to pass control of a transaction to an about-to-run-out-of-resource handler. A processor of the transactional memory system determines information about an about-to-run-out-of-resource handler for transaction execution of a code region of a hardware transaction. The processor dynamically monitors an amount of available resource for the currently running code region of the hardware transaction. The processor detects that the amount of available resource for transactional execution of the hardware transaction is below a predetermined threshold level. The processor, based on the detecting, saves speculative state information of the hardware transaction, and executes the about-to-run-out-of-resource handler, the about-to-run-out-of-resource handler determining whether the hardware transaction is to be aborted or salvaged.
申请公布号 US2016004558(A1) 申请公布日期 2016.01.07
申请号 US201514853149 申请日期 2015.09.14
申请人 International Business Machines Corporation 发明人 Busaba Fadi Y.;Cain, III Harold W.;Gschwind Michael Karl;Michael Maged M.;Salapura Valentina
分类号 G06F9/46;G06F12/08 主分类号 G06F9/46
代理机构 代理人
主权项 1. A method for determining whether to pass control of a transaction, executing in a transactional memory environment, to an about-to-run-out-of-resource handler, the method comprising: determining, by a processor, information about an about-to-run-out-of-resource handler for transaction execution of a code region of a hardware transaction; dynamically monitoring, by the processor, an amount of available resource for the currently running code region of the hardware transaction; detecting, by the processor, that the amount of available resource for transactional execution of the hardware transaction is below a predetermined threshold level; based on detecting the amount of available resource is below the predetermined threshold level, saving, by the processor, speculative state information of the hardware transaction; and based on detecting the amount of available resource is below the predetermined threshold level, executing, by the processor, the about-to-run-out-of-resource handler, wherein the about-to-run-out-of-resource handler determines whether the hardware transaction is to be aborted or salvaged.
地址 Armonk NY US