Tracking of program objects during request processing
Abstract
Coding issues that create runtime memory leaks, for example in programs coded in a platform-independent programming language such as Java™, can be isolated at the program code line level. An allocation trace that retains, in active memory, a unique object identifier for each of a plurality of objects instantiated during program execution and an address in the active memory where each object is stored can be created. Memory leak candidates can be identified by directly examining contents of the active memory to identify one or more data structures that are increasing in size over time. The allocation trace can be combined with the identified memory leak candidates to generate information about at least one identified leaking object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 27 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising: creating an allocation trace for a running program that is suspected of causing or known to cause memory leaks, the creating comprising retaining, in active memory, a unique object identifier for each of a plurality of objects instantiated during program execution and an address in the active memory where each object is stored; identifying at least one memor
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,824,005 B1 | Process level memory allocation by memory type | 2017 | 6 |
| US 9,760,464 B1 | Memory leak detection | 2017 | 21 |
References Cited — Backward Prior Art (27)
Non-Patent Literature (3)
- Hauswirth et al., "Low-overhead memory leak detection using adaptive statistical profiling," 2004, ASPLOS XI Proceedings of the 11th international conference on Architectural support for programming languages and operating systems, pp. 156-164.
- Mitchell et al., "LeakBot: An Automated and Lightweight Tool for Diagnosing Memory Leaks in Large Java Applications," 2003, ECOOP 2003-Object-Oriented Programming Lecture Notes in Computer Science vol. 2743, pp. 351-377.
- Qin et al., "SafeMem: exploiting ECC-memory for detecting memory leaks and memory corruption during production runs," 2005, 11th International Symposium on High-Performance Computer Architecture, pp. 291-302.