发明授权
US08032568B2 Method for performing memory leak analysis inside a virtual machine
失效
在虚拟机内执行内存泄漏分析的方法
- 专利标题: Method for performing memory leak analysis inside a virtual machine
- 专利标题(中): 在虚拟机内执行内存泄漏分析的方法
-
申请号: US12164250申请日: 2008-06-30
-
公开(公告)号: US08032568B2公开(公告)日: 2011-10-04
- 发明人: Joseph K. Chacko , Stephen Flavell , Hedley Proctor
- 申请人: Joseph K. Chacko , Stephen Flavell , Hedley Proctor
- 申请人地址: US NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: US NY Armonk
- 代理机构: Scully, Scott, Murphy & Presser, P.C.
- 代理商 Randall J. Bluestone, Esq.
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A method, system, computer program product, and computer program storage device for performing a memory leak analysis inside a virtual machine is disclosed. By utilizing thread stack(s), class statics, and/or a list of root objects, a DFS algorithm starts execution at root objects in the thread stack(s), class statics, and/or a list of root objects. Upon fully processing an object, a reachability (sum of sizes of all child objects plus a size of the object itself) of the object is calculated. When the reachability of the object is larger than a threshold and when all reachabilities of children of the objects are less than another threshold (i.e., a largest child reachability of the object is less than another threshold), the object is determined as a potential source of a memory leak.
公开/授权文献
信息查询