Epic 5: Memory management / GC
- 主要语言
- Python
- 星标
- 41
- 派生
- 10
- PR 合并指标
- 30 天内没有已合并 PR
描述
## Epic 5: Memory management / GC
### Goal: long-running programs don’t leak forever.
- [ ] Pick GC strategy (starting point: mark-and-sweep)
- [ ] Heap allocator:
- [ ] bump pointer allocator initially
- [ ] later: free list / coalescing (optional)
- [ ] GC runtime:
- [ ] mark phase (graph traversal)
- [ ] sweep phase
- [ ] Escape analysis (stack-allocate objects that don't escape the method)
- [ ] Safepoints + root tracking:
- [ ] define safepoints (alloc, call boundaries, loop back-edges, etc.)
- [ ] map stack slots + registers → "this holds an object pointer"
- [ ] Tests:
- [ ] cyclic structures
- [ ] allocation-heavy loops
- [ ] "GC during deep recursion" / stack-heavy programs
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。