×

Method and apparatus for diagnostic recording using transactional memory

  • US 8,972,794 B2
  • Filed: 02/26/2008
  • Issued: 03/03/2015
  • Est. Priority Date: 02/26/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method of gathering diagnostic information in a hardware-based transactional memory system, comprising:

  • responsive to detecting an exception event has occurred in a first thread, invoking a system call of an operating system to access a portion, of a transaction log of a hardware-based transactional memory, that corresponds to the first thread, wherein the transaction log is stored in a hardware buffer of the hardware-based transactional memory, wherein the hardware-based transactional memory is configured to record recent memory accesses in the transaction log, wherein the portion of the transaction log includes recent memory accesses for the first thread, and wherein the transaction log is required for operation of the hardware-based transactional memory;

    storing the portion of the transaction log in a core file, wherein the core file further comprises a stack trace, a register dump, and a memory dump; and

    replaying a plurality of instructions that led to the exception event in the first thread via a debugger tool, using the portion of the transaction log stored within the core file.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×