发明授权
US06370684B1 Methods for extracting reference patterns in JAVA and depicting the same
失效
在JAVA中提取参考模式并描绘相同的方法
- 专利标题: Methods for extracting reference patterns in JAVA and depicting the same
- 专利标题(中): 在JAVA中提取参考模式并描绘相同的方法
-
申请号: US09290493申请日: 1999-04-12
-
公开(公告)号: US06370684B1公开(公告)日: 2002-04-09
- 发明人: Wim De Pauw , Olivier Gruber , Ravi B. Konuru , Gary S. Sevitsky
- 申请人: Wim De Pauw , Olivier Gruber , Ravi B. Konuru , Gary S. Sevitsky
- 主分类号: G06F944
- IPC分类号: G06F944
摘要:
Methods are provided for extracting reference patterns in JAVA and depicting the same. The extracted and depicted reference patterns may be used to interactively and selectively explore data structures, and to identify and solve memory leaks. A method for extracting reference relationships among objects corresponding to a running program includes the step of designating a starting set of objects. The starting set of objects is partitioned into subsets of objects grouped by class. A recursive operation is applied to each of the starting subsets. The recursive operation includes the step of, given a subset of objects, identifying a second set of objects. The second set includes all objects that refer to at least one object in the subset when a direction of reference terminates at the starting set. Alternatively, the second set includes all objects that are referred to by at least one object in the subset when the direction of reference originates from the starting set. The recursive operation also includes the step of partitioning the second set into new subsets of objects grouped by class. The recursive operation is applied to each of the new subsets until a predefined depth is reached.
信息查询