mirror of
https://github.com/vercel-labs/scriptc.git
synced 2026-11-03 07:54:40 +08:00
Two corpus programs from the dropped tenuring work, reworded for main's three-generation collector: a tree with parent back edges ages into the old generation and then loses subtrees as dead cycles (plus temporary trees held across passes inside a call), and weak collections keyed by objects that age into the old generation and later die inside cycles. Only full passes reclaim either, so the sanitized lane's exit RC audit proves they are reclaimed rather than leaked, and the outputs pin that live structure and live weak entries survive every pass in between.