Patents
US 7,870,170 B2#16165253 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for determining leaks in a Java heap

7Forward Citations (#16165253 Global)
0.5/yrCitation Velocity (#17663334 Global)
1.25Citation PageRank (#30243447 Global)
45Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

An improved method, apparatus, and computer instructions for identifying a memory leak in a heap. Prior to the start of the observation period, all live objects in the heap are identified to form a set of live objects by altering an indicator in the live objects. After running the system for the required amount of time or until completion of the event being monitored, the system is used to obtain the list of live objects without the altered indicator. Live objects without the altered indicators form the most likely objects associated with a memory leak.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 45 · Forward citations: 7.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer implemented method in a data processing system for identifying a memory leak in a heap, wherein the heap comprises a plurality of objects, the computer implemented method comprising: responsive to a processor completing a mark-sweep-compact operation in the heap, clearing an indicator associated with each object in the plurality of objects, wherein the indicator is located in a bit in a header of the each object; initiating a marking operation at a beginning of a user-defined observation period; responsive to an allocation of memory to a new object during the user-defined observatio

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (45)

PatentTitleYearCitations
US 5,748,881 AMethod and apparatus for a real-time data collection and display system1998108
US 5,900,001 AMethod and apparatus for optimizing exact garbage collection using a bifurcated data structure1999139
US 5,930,807 AApparatus and method for fast filtering read and write barrier operations in garbage collection system1999108
US 6,035,303 AObject management system for digital libraries2000103
US 6,047,295 AComputer system, program product and method of managing weak references with a concurrent mark sweep collector2000160
US 6,070,173 AMethod and apparatus for assisting garbage collection process within a java virtual machine200085
US 6,093,216 AMethod of run-time tracking of object references in Java programs200083
US 6,098,080 AComputer system, program product and method of collecting interned data with a mark sweep collector200051
US 6,098,089 AGeneration isolation system and method for garbage collection2000163
US 6,167,535 AObject heap analysis techniques for discovering memory leaks and other run-time information200092
US 6,289,360 B1Method and system for eliminating synchronization between sweep and allocate in a concurrent garbage collector200194
US 6,324,631 B1Method and system for detecting and coalescing free areas during garbage collection200162
US 6,353,838 B2Incremental garbage collection200252
US 6,370,684 B1Methods for extracting reference patterns in JAVA and depicting the same200282
US 2002107879 A1Accurately determining an object's lifetime—51
US 6,434,575 B1Method of instrumenting garbage collection generating a trace file making a single pass analysis of object heap200254
US 6,493,730 B1Efficient object faulting with generational garbage collection200244
US 6,502,110 B1Memory reclamation method and apparatus200218
US 2003005027 A1Computer system for detecting object updates—21
US 6,523,141 B1Method and apparatus for post-mortem kernel memory leak detection200347
US 2003061597 A1Method to detect unbounded growth of linked lists in a running application—40
US 6,622,226 B1Method and system for using a mark-list for garbage collection200349
US 6,625,808 B1Method and apparatus for facilitating memory management in a program comprised of heterogeneous components200335

Non-Patent Literature (5)

  • Beebee, Jr., William S., et al., "An Implementation of Scoped Memory for Real-Time Java", EMSOFT 2001, LNCS 2211, Springer-Verlag, Berlin, Germany, © 2001, pp. 289-305.
  • Berlea, Alexandru, "Garbage Collection for the Delft Java Processor", Politehnica University of Bucharest, Delft University of Technology, Master's Thesis, Aug. 18, 1999, pp. i-x and 1-82.
  • Blackburn, Stephen M., et al., "Myths and Realities: The Performance Impact of Garbage Collection", SIGMETRICS/Performance '04, New York, NY, Jun. 12-16, 2004, pp. 25-36.
  • Blackburn, Stephen M., et al., "Ulterior Reference Counting: Fast Garbage Collection Without a Long Wait", OOPSLA '03, Anaheim, CA, Oct. 26-30, 2003, pp. 344-358.
  • Borman, Sam, "Sensible Sanitation-Understanding the IBM Java Garbage Collector, Part 1: Object Allocation", developerWorks, Aug. 1, 2002, 8 pages, downloaded from: www-106.ibm.com/developerworks/ibm/library/i-garbage1/.