aalhour / aalhour/PyCOOLC

Epic 5: Memory management / GC

Abierto
#21 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
41
Forks
10
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

## 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.