Reference-counting subsumption analysis
Abstract
An eager reference-counting garbage collection system performs a static analysis on the intermediate representation of a program. The system then uses liveness information to inject eager reference-counting updates into the program. Through the use of the liveness information, reference-counting decrements can be made earlier in execution than in traditional reference-counting schemes, freeing up memory more efficiently. Additionally, a reference-counting subsumption optimization tool identifies redundant reference-counting updates and removes them, lowering the number of garbage collection update calls and improving execution throughput. Reference-counting subsumption can also be used as a throughput enhancer in traditional reference-counting schemes that maintain up-to-date tallies of references from the stack.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 11.
Claims (3 — 3 Independent, 0 Dependent)
- Claim 1Independent Claim
every live range of the first reference is contained in a live range of the second reference;
- Claim 2Independent Claim
the first reference is never live through a redefinition of either the first or the second reference; and
- Claim 3Independent Claim
a set of every object which is reachable from the first reference is a subset of a set of every object which is reachable from the second reference; wherein determining references which are subsumed by other references in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (5)
- Alan Deutsch. On Determining Lifetime and Aliasing of Dynamically Allocated Data in Higher-Order Functional Specifications. In Proceedings of the 17th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, pp. 157-168. Association for Computing Machinery, Jan. 1990.
- Bjarne Steensgaard. Thread-Specific Heaps for Multi-Threaded Programs. In Proceedings of the 2nd International Symposium on Memory Management, pp. 18-24. Association for Computing Machinery, Oct. 2000.
- Chase, David, "Garbage Collection and Other Optimizations", PhD Thesis, Rice U. Computer Science Department, Nov. 1987.
- Chris Sells and Christopher Tavares. Adding Reference Counting to the Shared Source Common Language Infrastructure. At http://www.sellsbrothers.com/writing.
- Cristina Ruggieri and Thomas P. Murtagh. Lifetime Analysis of Dynamically Allocated Objects. In Proceedings of the 15th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, pp. 285-293. Association for Computing Machinery, Jan. 1988.