Remembered-set scrubbing to remove stale entries in an incremental garbage collector
Abstract
A computer system, method and software for detecting and purging stale entries from remembered sets associated with incrementally collectible regions used in an incremental garbage collection technique like the Trains algorithm is described. Stale entries are detected by a number of techniques, and then purged, eliminated, or scrubbed. These techniques make use of the summarized information about regions such as cards or incrementally collectible regions that indicate age of allocation, time a region was last scanned, last time an entry was inserted into a remembered set, as well as how far forward or backward objects in a given region refer in a generation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 24 · Forward citations: 7.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer implemented method for eliminating or scrubbing stale entries from remembered sets associated with incrementally collectible regions in an incremental garbage collector, the scrubbing occurring without scanning the regions referred to by the entries, the method comprising the steps of: defining stale entries, determining conditions under which stale entries will or are likely to occur, examining those conditions, detecting stale entries without scanning any memory region, and scrubbing the stale entries.
- Claim 2Depends on #1
The method of claim 1 further comprising the steps of: defining time periods associated with garbage collecting, characterizing the time periods with respect to time-efficient scrubbing of stale entries, and detecting and scrubbing stale entries during the time-efficient periods.
- Claim 3Depends on #1
The method of claim 1 wherein the time-efficient periods
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (24)
Non-Patent Literature (5)
- Appel, "Simple Generational Garbage Collection and Fast Allocation", Software Practice and Experience, 19(2), 1989, 171-183.
- Appel, et al., "Real-Time Concurrent Collection on Stock Multiprocessors", ACM SIGPLAN Notices, 1988.
- Arora, et al., "Thread Scheduling for Multiprogrammed Multiprocessors", Proceedings of the 10th Annual ACM Symposium on Parallel Algorithms and Architecture, Jun. 1998.
- Bacon, et al., "Java without the Coffee Breaks: A nonintrusive Multiprocessor Garbage Collector", SIGPLAN Conference on Programming Language Design and Implementation, Jun. 2001, Snowbird, UT.
- Baker, "List Processing in Real Time on a Serial Computer", Communications of the ACM 21, Apr. 1978, 280-294.