Patents
US 6,920,541 B2#9660212 Most CitedExpiredUnited States (USPTO)Utility

Trace termination for on-the-fly garbage collection for weakly-consistent computer architecture

11Forward Citations (#9660212 Global)
0.5/yrCitation Velocity (#15106737 Global)
1.63Citation PageRank (#20043439 Global)
3Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

A method for memory management in execution of a program by a computer having a memory includes allocating respective portions of the memory to data objects using mutator threads of the program, whereby the objects are held in a heap created by the program. The data objects in the heap are traced so as to mark the data objects that are reachable at a given stage in the program. The computer loops over the mutator threads so as to verify for each of the mutator threads that every update to the allocated portions of the memory in progress by the mutator thread has been completed. The heap is then swept so as to free the memory that is allocated to the data objects that are not marked as reachable, for reallocation to new data objects.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method for memory management in execution of a program by a computer having a memory, comprising: allocating respective portions of the memory to data objects using mutator threads of the program, whereby the objects are held in a heap created by the program; tracing the data objects in the heap so as to mark the data objects that are reachable at a given stage in the program; looping over the mutator threads so as to verify for each of the mutator threads that every update to the allocated portions of the memory in progress by the mutator thread has been completed; and sweeping the heap so

  2. Claim 2Depends on #1

    A method according to claim 1 , wherein looping over the mutator threads comprises forcing each of the mutator threads to perform a fe

Technical Overview & Description

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

Non-Patent Literature (5)

  • Adve and Gharachorloo, Shared Memory Consistency Models: A Tutorial Published in the IEEE Computer Magazine (Dec. 1996), pp. 66-76.
  • Dijkstra, et al., ON-the-Fly Garbage Collection: An Exercise in Cooperation Published in Communications of the ACM 21:11 (1978), pp. 966-975.
  • Doligez and Gonthier, "portable Unobrrasive Garbage Collection for Multi-Processor Systems", Published in the Conference Record of the Twenty first Annual ACM Symposium on Principles of Programming Languages (1994), pp. 70-83.
  • Doligez and Leroy, :"A Concurrent, Generational Garbage Collector for a Multithreaded Implementation of ML", Proc. 20<SUP>th </SUP>Symp. Principles of Programming Languages, 1993, pp. 113-123.
  • Domani, et al., "Implementing an On-the-Fly Garbage Collector for Java", Published in the International Symposium on Memory Management, Nov. 2000.