Arborescent Garbage Collection: A Dynamic Graph Approach to Immediate Cycle Collection
summary
Embeds a spanning forest embedded in reference graph and maintains it on each pointer update so the runtime can perform immediate synchronous cycle reclamation; implements a weak rank per object with adoption and reranking optimizations and stores co-parent links as in-object metadata (no extra allocations). Prototype on Ribbit (Scheme) reclaims cycles immediately but runs about 4.5x slowdown versus mark‑and‑sweep; concurrent or parallel mutator support is left for future work.
AI-written summary · about
chapters (15)
- 0:00Introduction to arborescent garbage collection
- 1:25Collect cycles immediately
- 2:30Heap as reference graph
- 3:56ES trees and ranks
- 6:04Spanning forest maintenance
- 7:09Edge removal handling
- 10:00Algorithm optimization
- 11:49Adoption and reranking
- 13:57Initial ranks for objects
- 14:39Implementation details
- 15:48Benchmark vs mark-sweep
- 16:52Performance results
- 17:12Future work
- 17:56Conclusion
- 18:41Q&A
