Patents
US 7,092,978 B2#3086114 Most CitedExpiredUnited States (USPTO)Utility

Space-efficient, depth-first parallel copying collection technique making use of work—stealing on the same structures that maintain the stack of items to be scanned

25Forward Citations (#3086114 Global)
1.2/yrCitation Velocity (#4723136 Global)
2.83Citation PageRank (#8305678 Global)
25Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A copying-type garbage collector operates in multiple concurrent threads. Each thread evacuates potentially reachable objects from the from space to the to space in a depth-first manner: if a thread has evacuated an object containing references to any from-space objects, it evacuates all of that object's descendants before it evacuates any other reachable objects. To keep track of descendants that must be evacuated before non-descendants can be, the thread places objects containing references to non-evacuated objects into a linked list maintained by pointers that it installs in the from-space locations from which the objects on the list were evacuated. Additionally, it divides the to space into local-allocation buffers (“LABs”) to which respective threads exclusively evacuate objects, and each thread maintains a LAB stack representing all the LABs it has filled that still contain references to unevacuated from-space objects. When a thread has completed evacuating the descendants of evacuees in all of its LABs, it “steals” work from other threads. It may do so, for instance, by processing a reference in an object belonging to another thread's list, by transferring to its own

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method operating in the memory of a computer system, for executing in a plurality of execution threads a copying garbage collector that collects by evacuating to a to-space from a from-space at least any objects in the from-space that are reachable from the to-space and reclaiming the from-space for re-use, a method comprising: A) maintaining for each thread at least one linked list, associated with that thread, of evacuated objects containing references to potentially unevacuated objects by writing, in locations in the from-space from which that thread has evacuated obj

Technical Overview & Description

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

Non-Patent Literature (5)

  • Andrew W. Appel, "Simple Generational Garbage Collection and Fast Allocation," Software Practice and Experience, 1989, pp. 171-183, vol. 19, No. 2.
  • Appel, Ellis, and Li, "Real-time Concurrent Collection on Stock Multiprocessors," ACM SIGPLAN Notices, 1998.
  • Arora, Blumofe, and Plaxton, "Thread Scheduling for Multiprogrammed Multiprocessors," Proceedings of the Tenth Annual ACM Symposium on Parallel Algorithms and Architectures, Jun. 1998.
  • Bacon, Attanasio, Lee, Rajan, and Smith, "Java without the Coffee Breaks: A Nonintrusive Multiprocessor Garbage Collector," SIGPLAN Conference on Programming Language Design and Implementation, Snowbird, Utah, Jun. 2001.
  • C. J. Cheney, "A Nonrecursive List Compacting Algorithm," Communications of the ACM, Nov. 1970, pp. 677-678, vol. 13, No. 11.