Combining external and intragenerational reference-processing in a garbage collector based on the train algorithm
Abstract
A garbage collector collects at least a generation of a dynamically allocated heap in increments. In each increment, it identifies references located outside a collection set that refer to objects that belong to the collection set, and it evacuates the objects thus referred to before it reclaims the memory space that the collection set occupies. In some collection increments, references to collection-set objects are located both inside and outside the generation. The collector locates all such references, both those inside the generation and those outside it, before it evacuates any objects in response to any of them. By doing so, it is able to reduce the cost of locating references and evacuating objects.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
For operating a computer system, which includes memory, as a garbage collector that treats at least a generation of a garbage-collected heap in the memory as divided into sections and collects the generation in collection increments with which the garbage collector associates respective collection sets in the generation, a method comprising, in at least some of the collection increments: A) finding references, denominated external references, that are located outside the generation but refer to objects that are located inside the generation, listing the external references thereby found that r
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (50)
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.
- Appleby, Karen, "Garbage Collection for Prolog Based on WAM, vol. 31, Issued 6", Communication of the ACM, Jun. 1, 1998, 719-741.
- Arora, et al., "Thread Scheduling for Multiprogrammed Multiprocessors", Proceedings of the 10th Annual ACM Symposium on Parallel Algorithms and Architecture, Jun. 1998.
- Azagury, et al., "Combining Card Marking With Remembered Sets: How to Save Scanning Time", ACM SIGPLAN Notices, Oct. 1998, v. 34(3), ACM Press, Vancouver, Canada.