aboutsummaryrefslogtreecommitdiff
path: root/notes/per_lifetime_arenas.txt
blob: a58c1fe992e524eac5376313f1bf2e18bf09a7dc (plain)
1
2
3
4
5
6
7
8
9

Could use "per-lifetime" arenas, i.e. allocate based on statically
known lifetime constraints. And add references between arenas.
Then garbage collection could operate on the arena-level, rather than
the object level. This means much less GC work.

Also, the arena meta-data could be stored outside of the arenas themselves,
such that GC can scan a lot of arenas without "jumping around" across memory.