Patents
US 7,624,137 B2#7033882 Most CitedExpiredUnited States (USPTO)Utility

Method and apparatus for scheduling and performing garbage collection in a real-time system with guaranteed space bounds

14Forward Citations (#7033882 Global)
0.8/yrCitation Velocity (#8975686 Global)
2.20Citation PageRank (#12524749 Global)
35Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A garbage collection system that needs to meet real-time requirements with guaranteed space bounds uses a mostly non-copying hybrid collector that performs defragmentation with limited copying of objects. The garbage collection and the real-time application are interleaved on a time-based schedule. An interval for the interleaving is selected based upon a garbage collector processing rate, a garbage generation rate and a memory allocation rate of the real-time application. An amount of memory for the real-time application and the garbage collection process is selected based upon the maximum excess memory requirement of the garbage collection process and the maximum memory requirement for the application. Defragmentation is only performed when an amount of available memory falls below a predetermined level.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of performing a mark and sweep garbage collection process for a real-time application such that it has determinable space bounds, the method comprising: using a memory for: allocating memory space for the application, wherein allocated memory is defined to include directly allocated memory and indirectly allocated memory due to mutation; segmenting the memory space into a number of pages of a predetermined size; and dividing the pages into blocks of a predetermined size; using a mutator for performing an iterative mutation process by: assuring that only non-null, unmarked objects are

Technical Overview & Description

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

References Cited — Backward Prior Art (35)

PatentTitleYearCitations
US 5,560,003 ASystem and hardware module for incremental real time garbage collection and memory management1996241
US 5,604,902 AHole plugging garbage collection for a data storage system199785
US 5,680,582 AMethod for heap coalescing where blocks do not cross page of segment boundaries199730
US 5,687,368 ACPU-controlled garbage-collecting memory module1997107
US 5,692,185 AObject space manager method and circuit199773
US 5,761,536 ASystem and method for reducing memory fragmentation by assigning remainders to share memory blocks on a best fit basis1998138
US 5,857,210 ABounded-pause time garbage collection system and method including read and write barriers associated with an instance of a partially relocated object1999103
US 5,873,104 ABounded-pause time garbage collection system and method including write barrier associated with source and target instances of a partially relocated object1999114
US 5,873,105 ABounded-pause time garbage collection system and method including write barrier associated with a source instance of a partially relocated object1999128
US 5,903,900 AMethod and apparatus for optimizing exact garbage collection of array nodes in a carded heap1999110
US 6,081,665 AMethod for efficient soft real-time execution of portable byte code computer programs2000405
US 6,131,150 AScaled memory allocation system200049
US 6,289,360 B1Method and system for eliminating synchronization between sweep and allocate in a concurrent garbage collector200194
US 2002029357 A1Method and system of memory management using stack walking—122
US 2002032719 A1Method and system of dynamic memory management—59
US 2002042807 A1Low-contention grey object sets for concurrent, marking garbage collection—24

Non-Patent Literature (5)

  • Boehm, H., Demers, A. J., and Shenker, S. 1991. Mostly parallel garbage collection. In Proceedings of the ACM SIGPLAN 1991 Conference on Programming Language Design and Implementation (Toronto, Ontario, Canada, Jun. 24-28, 1991). PLDI '91. ACM, New York, NY, 157-164. DOI= http://doi.acm.org/10.1145/
  • Nettles, S. and O'Toole, J. 1993. Real-time replication garbage collection. SIGPLAN Not. 28, 6 (Jun. 1993), 217-226. DOI= http://doi.acm.org/10.1145/173262.155111.
  • Nilsen, K, Cost-Effective Hardware-Assisted Real-Time Garbage Collection, ACM PLDI Workshop on Language, Compiler, and Tool Support for Real-Time Systems, Jun. 1994.
  • Robertz, S. G. and Henriksson, R. 2003. Time-triggered garbage collection: robust and adaptive real-time GC scheduling for embedded systems. SIGPLAN Not. 38, 7 (Jul. 2003), 93-102. DOI= http://doi.acm.org/10.1145/780731.780745.
  • Wilson, P.R. 1992. Uniprocessor Garbage Collection Techniques. Available online at http://www.springerlink.com/content/m36636405668rnp8/.