发明申请
US20090327373A1 METHOD FOR PERFORMING MEMORY LEAK ANALYSIS INSIDE A VIRTUAL MACHINE
失效
用于在虚拟机内部执行存储器泄漏分析的方法
- 专利标题: METHOD FOR PERFORMING MEMORY LEAK ANALYSIS INSIDE A VIRTUAL MACHINE
- 专利标题(中): 用于在虚拟机内部执行存储器泄漏分析的方法
-
申请号: US12164250申请日: 2008-06-30
-
公开(公告)号: US20090327373A1公开(公告)日: 2009-12-31
- 发明人: 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
- 主分类号: 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.
公开/授权文献
信息查询