Generational real-time garbage collection
Abstract
Disclosed are a partial heap garbage collector, and a partial heap garbage collection method, that during collection checks the time remaining (or equivalently the time taken so far, or the work done so far) to complete the partial heap collection. In a preferred embodiment, the partial heap collection is guaranteed to complete within a fixed time interval. For example, this guarantee may be obtained by applying a worst-case execution time (WCET) and sizing a nursery so that complete evacuation of the nursery can always be achieved on time. As an alternative, a technique, referred to as syncopation, may be used to allow generational collection to be used despite variance in program behavior over the short time scales in which a nursery can be collected. Syncopation may be accomplished via allocation control or via collection control.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 9.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A partial heap garbage collector for managing a memory heap having a nursery portion and a non-nursery portion, the partial heap garbage collector comprising a processor unit including a computer readable processing code, wherein the computer readable processing code, when executing in the processor unit, configures the processor unit for: collecting data objects in the nursery portion in a defined collection period, said collection period including a plurality of intervals, each of said intervals including a mutator portion and a garbage collector portion; using time-based scheduling to guara
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 (13)
Non-Patent Literature (3)
- "List processing in real-time on a serial computer," Commun. ACM 21, 4 (Apr. 1978), 280-294; Henry G. Baker, Jr.
- 1. "A Real-time Garbage Collector with Low Overhead and Consistent Utilization", (POPL '03, Jan. 15-17, 2003, ACM 1-58113-628-5/03/0001), pp. 285-298; Bacon et al.
- 2. "List processing in real-time on a serial computer," Commun. ACM 21, 4 (Apr. 1978), 280-294; Henry G. Baker, Jr.