Mechanism for performing loitering trace of objects that cause memory leaks in a post-garbage collection heap
Abstract
A mechanism for performing loitering trace is disclosed. A method of embodiments of the invention includes initiating a loitering trace of objects that cause a memory leak and remain in a heap after surviving at least one garbage collection operation. Initiating the loitering trace includes detecting the objects remaining in the heap via a loitering module of a profiling structure at a first virtual machine of an application server of a first computer system. Initiating the loitering trace further includes performing time-based sampling for the objects remaining, the time-based sampling having method statistics identifying an average runtime associated with each of the objects remaining. The method statistics is calculated based on a number of uses called for each of the objects remaining and a time length associated with each use of each of the remaining objects. The method further includes providing, from the first virtual machine, the time-based sampling to a second virtual machine of the first computer system or a second computer system, and performing an act on the objects remaining in the heap based on the time-based sampling.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 25.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: initiating a loitering trace of objects that cause a memory leak and remain in a heap after surviving at least one garbage collection operation, wherein initiating the loitering trace includes detecting the objects remaining in the heap via a loitering module of a profiling structure at a first virtual machine of an application server of a first computer system, wherein initiating the loitering trace further includes performing time-based sampling for the objects remaining, wherein the time-based sampling is performed at regular time intervals and includes method statistic
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 25 total)
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- Andy Vaught. "Take Command: gprof, bprof and Time Profilers." May 1998. Linux Journal. Issue 49.
- Final Office Action for U.S. Appl. No. 11/731,267 Mailed Jul. 15, 2010, 13 Pages.
- Final Office Action for U.S. Appl. No. 11/731,267 Mailed Oct. 14, 2009,11 Pages.
- Final Office Action for U.S. Appl. No. 11/731,397, Mailed Apr. 13, 2011, 13 pages.
- Final Office Action for U.S. Appl. No. 11/731,684, Mailed Apr. 26, 2011, 10 pages.