Patent ID: 8615760

Claim:
A method operable by a computer system for facilitating memory analysis of a memory, comprising: assigning a unique ID for each task in a running program; recording memory access events occurring during running of the running program in a data storage device, including the IDs of the tasks performing the memory accesses; analyzing the memory using the memory access events; issuing a task termination notification in response to a task terminating, the task termination notification including the ID of the terminating task, wherein the issuing of the task termination notification in response to a task terminating is implemented by inserting a method that will be invoked, after the task running is finished, into a class of objects representing tasks, wherein the method is operable for issuing the task termination notification including the ID of the object; and in response to the task termination notification, releasing all the memory access events having the ID of the terminating task in the memory.