Binned remembered sets
Abstract
A garbage collector that performs collection incrementally in accordance with the train algorithm employs remembered sets to keep track of locations where references to objects in respective car sections were written. The remembered sets are implemented as multi-level hash tables. The entries in the top-level hash table are pointers to constituent hash tables in which entries representing the reference locations are placed. When a constituent hash table becomes full, the collector thins it by allocating a new constituent table, transferring some of the previously full table's entries to the new table, and dividing further reference-location-representing entries among them in accordance with a hash function having an expanded range.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 57.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of employing a computer system, which includes memory including a heap in which space is dynamically allocated, to reclaim in at least a generation of the heap the memory space not occupied by objects identified as potentially reachable, wherein the method includes: A) treating the generation as divided into car sections; B) repeatedly scanning at least portions of the generation for references into the car sections; C) maintaining for each of at least one of the car sections a respective remembered set of remembered-set entries that identify locations at which references to objects i
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 57 total)
References Cited — Backward Prior Art (0)
No backward patent references recorded.
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.