Restore hardware transactions
暂无分享,去创建一个
A transaction storage system restores a partially executed hardware transaction. A processor of the transaction storage system determines information about an about-to-fail routine for transaction-oriented execution of a code area of a hardware transaction. The processor saves state information of the hardware transaction, which state information can be used to determine if the hardware transaction should be restored or aborted. The processor detects an "about-to-fail" condition during the transaction-oriented execution of the hardware transaction. The processor executes the about-to-fail routine based on the recognition, using information about the about-to-fail routine, and the about-to-fail routine determines if the hardware transaction is recovering or should be canceled.