摘要 |
FIELD: physics, computer engineering.SUBSTANCE: invention relates to computer engineering. A method of providing diagnostic information when transaction aborts includes detecting an abort of a transaction, the transaction comprising one or more instructions, and the transaction effectively delaying committing transactional stores to main memory until completion of a selected transaction; determining, based on the abort, whether diagnostic information is to be stored into a transaction diagnostic block (TDB); and storing, in the TDB, the diagnostic information, which includes an address of an instruction corresponding to the aborted transaction, which depends on the reason for the abort which is represented by an abort code, wherein if the abort code has a first value from one or more first values, the diagnostic information includes an address of an instruction executed when the abort was detected, if the abort code has a second value from one or more second values, the diagnostic information includes an address of an instruction which is past the instruction executed when the abort was detected, and if the abort code has a third value from one or more third values, the diagnostic information includes an address of an instruction which is earlier or later than the instruction executed when the abort was detected.EFFECT: high efficiency of a multiprocessor system.20 cl, 28 dwg |