aalhour / aalhour/PyCOOLC

Epic 5: Memory management / GC

Offen
#21 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
41
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.