Generation isolation system and method for garbage collection
Abstract
Architectural support for generation isolation is provided through trapping of intergenerational pointer stores. Identification of pointer stores as intergenerational is performed by a store barrier responsive to an intergenerational pointer store trap matrix that is programmably encoded with store target object and store pointer data generation pairs to be trapped. The write barrier and intergenerational pointer store trap matrix provide a programmably-flexible definition of generation pairs to be trapped, affording a garbage collector implementer with support for a wide variety of generational garbage collection methods, including remembered set-based methods, card-marking type methods, write barrier based copying collector methods, etc., as well as combinations thereof and combinations including train algorithm type methods to managing mature portions of a generationally collected memory space. Pointer specific store instruction replacement allows implementations in accordance with this invention to provide an exact barrier to not only pointer stores, but to the specific intergenerational pointer stores of interest to a particular garbage collection method or combination of meth
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 163.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: dynamically allocated storage wherein references to objects formed therein have generation membership tags associated therewith; an intergenerational pointer store trap matrix including elements corresponding to store target object and store reference data generation pairs, wherein individual of said elements indicate whether said barrier should trap pointer stores of corresponding store reference data to a corresponding store target object; and a write barrier to intergenerational pointer stores, wherein said write barrier traps a store instruction in response to
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 163 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- A.L. Hosking et al.: "A Comparative Performance Evaluation of Write Barrier Implementations" ACM Sigplan Notices, vol. 27, No. 10, Oct. 1, 1992, pp. 92-109, XP000327291.
- A.L. Hosking et al.: A Comparative Performance Evaluation of Write Barrier Implementations ACM Sigplan Notices, vol. 27, No. 10, Oct. 1, 1992, pp. 92 109, XP000327291.
- David A. Barrett, Thesis entitled: Improving the Performance of Conservative Generational Garbage Collection, Technical Report CU CS 784 95, Sep. 1995, pp. 1 64.
- David A. Barrett, Thesis entitled: Improving the Performance of Conservative Generational Garbage Collection, Technical Report CU-CS-784-95, Sep. 1995, pp. 1-64.
- David A. Moon, Architecture of the Symbolics 3600, IEEE, 1985, pp. 76 83.