发明名称 Fast detection of the origins of memory leaks when using pooled resources
摘要 The present invention is a method, system and apparatus for memory leak detection and reporting. In a preferred method of the invention, allocated ones of resources in a resource pool can be time stamped upon allocation and calling code segments receiving the allocated resources can be identified. Memory leaks can be detected by inspecting individual timestamps for the allocated resources to determine whether the allocated resources have become overly idle. Notably, the identifying step can include the step of retrieving identities for individual ones of the calling code segments from an associated calling stack when the individual ones of the calling code segments acquire one of the allocated resources. In any case, for each allocated resource determined to have become overly idle, an identity of a corresponding one of the calling code segments can be reported.
申请公布号 US2005114843(A1) 申请公布日期 2005.05.26
申请号 US20030723979 申请日期 2003.11.26
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 GILGEN DAVID B.;WIGGER WILLIAM D.
分类号 G06F9/44;G06F9/50;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址