Patent ID: 9626256
Date: 2017-04-18
CPC Classifications: G06F

Claim:
1. A method for diagnosing an aborted atomic memory transaction among a plurality of memory transactions executed by a processor core including a transaction diagnostic register and a separate plurality of registers and having an associated transactional memory that stores information corresponding to the plurality of memory transactions, the method comprising: retrieving context summary information of the aborted atomic memory transaction from multiple of the plurality of registers in the processor core, wherein the context summary information of the aborted atomic memory transaction includes (1) a transaction nesting level indicating how many transactions started within the aborted atomic memory transaction were being executed at failure of the aborted atomic memory transaction and (2) a calling context summary identifying multiple functions in a call stack at failure of the aborted atomic memory transaction; and storing the context summary information of the aborted atomic memory transaction retrieved from the plurality of registers into one of a transaction diagnostic register and the transactional memory, such that the context summary information is used for diagnosing the aborted atomic memory transaction.