Scalable, space-efficient, parallel remembered-sets
Abstract
A garbage collector operates in increments in which it collects a collection set consisting of one or more segments of a dynamically allocated heap. For each of those segments it maintains a remembered set of locations in which it has previously found references to objects in that associated segment. Each remembered set is stored in a plurality of remembered-set structures, each of which is associated with a separate one of a corresponding plurality of “stripes” into which at least a portion of the heap is divided. The garbage collector executes its remembered-set-updating operations in a plurality of concurrently executing threads, each of which claims exclusive access to a subset of the constituent remembered-set structures. By restricting its access only to that subset of the remembered-set structures that it has claimed, an individual thread is able to perform its portion of the updating operation without the need for synchronization with other threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
For performing garbage collection, a method comprising: A) providing a computer system that includes memory and executes a mutator that modifies references in a dynamically allocated heap in the memory; B) configuring the computer system to act as a garbage collector that collects respective collection sets in collection increments and that: i) divides at least a portion of the heap into reference stripes and remembered-set regions; ii) maintains for each of the remembered-set regions a remembered set, associated therewith and stored in a plurality of remembered-set structures associated with
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (8)
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, 1988.
- 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.
- Chilimbi and Larus, "Using Generational Garbage Collection to Implement Cache-Conscious Data Placement," International Symposium on Memory Management, Oct. 1998.
- Clark and Mason, "Compacting Garbage Collection can be Fast and Simple," Software-Practice and Experience, Feb. 1996, pp. 177-194, vol. 26, No. 2.