Patent ID: 8055855

Claim:
An article of manufacture comprising a computer readable medium implementing code or logic executed to perform operations related to processes accessing addresses in a memory device, the operations comprising: detecting a monitored condition during application execution; invoking an instrumentation program to monitor processes accessing data at addresses in the memory device in response to detecting the monitored condition, wherein the instrumentation program is invoked with instrumentation lock parameters indicating lock parameters to use for granting locks; receiving a request from a requesting process for a requested address in the memory device following the invocation of the instrumentation program; granting a lock to the requesting process according to the lock parameters indicated in the instrumentation lock parameters to permit the requesting process to access the requested address, wherein subsequent processes cannot access addresses covered by the lock granted to the requesting process until the requesting process releases the lock; varying the instrumentation lock parameters to produce modified instrumentation lock parameters in response to not detecting the reoccurrence of the monitored condition within a predetermined time following invocation of the instrumentation program, wherein locks granted following the varying of the instrumentation lock parameters use the varied instrumentation lock parameters; logging information on the processes and the addresses they access in the memory device in response to invoking the instrumentation program; and forwarding the logged information on the processes and the addresses they access to an application analysis system in response to detecting a reoccurrence of the monitored condition during the application execution following the invocation of the instrumentation program.