System and method for memory leak detection in a virtual machine environment
Abstract
A system and method for detecting memory leaks in a garbage collected environment. In particular, the present invention provides a mechanism by which objects in the memory space of a virtual machine are analyzed as to whether they are warm or cold, i.e., how long they have persisted in memory without being accessed or referenced by another object. Following this analysis, the objects are clustered into groups of warm or cold objects, and any links from warm clusters to cold clusters are determined. This information is then provided to the software developer for use in detecting and analyzing potential memory leaks.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A system for determining potential memory leaks in a runtime environment, said run-time environment including a virtual machine, the system comprising: a memory for storing objects; an object temperature analyzer that accepts as input from a system developer a value for a limiting time, wherein the object temperature analyzer determines for each object whether the object has persisted in the memory without being accessed or referenced for a length of time greater than the limiting time, wherein if the length of time is greater than the limiting time the object temperature analyzer sets the sta
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (3)
- Laurent Amsaleg, Michael J. Franklin, Olivier Gruber, "Garbage collection for a client-server persistent object store", Aug. 1999, ACM Transactions on Computer Systems (TOCS), vol. 17 Issue 3, pp. 153-201.
- M. Schelvis, "Incremental distribution of timestamp packets: a new approach to distributed garbage collection", Sep. 1989 ACM SIGPLAN Notices , Conference proceedings on Object-oriented programming systems, languages and applications OOPSLA '89, vol. 24 Issue 10, pp. 37-48.
- Sung-Wook Ryu, B. Clifford Neuman, "Garbage Collection for Distributed Persistent Objects", posted 1997, retrieved from http://www.objs.com/workshops/ws9801/papers/paper015.html.