发明名称 Memory leak diagnosis
摘要 A method and an apparatus for diagnosing memory leak. The method includes: tracing the allocation of objects; recording allocation paths and allocation time of each object; giving to each object one unique identifier (ID) corresponding to an allocation path; determining the allocation path to which each object belongs; organizing the objects which are allocated but still not collected, and counting the age generations of the objects of the similar type according to the allocation time of each object; ranking the allocation paths according to the age generations of the surviving objects; and analyzing the ranking of the allocation paths, in which the allocation path with higher rank is more probable to introduce memory leaks. Thus, the suspicious allocation path possibly incurring memory leaks is selected and reported to the user for analysis.
申请公布号 US8429620(B2) 申请公布日期 2013.04.23
申请号 US20090491877 申请日期 2009.06.25
申请人 CHEN YING;TENG QIMING;LI XIN HUI;LI YING;LIU TIAN CHENG;INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 CHEN YING;TENG QIMING;LI XIN HUI;LI YING;LIU TIAN CHENG
分类号 G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址