-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
Milestone
Description
Stop-the-world generational garbage collector with a single collection based on a variant of Cheney's copying algorithm.
Notes
- Minimum generation size in pages should be determined experimentally.
- New generation size after collection must depend on the stack size to ensure amortised constant time per allocation with multiple collections.
- By default collect only the youngest generation when it becomes full.
- Give the user an option to adjust the parameters: minimum generation size, maximum number of generations collected (one by default), how often older generations are collected.
- Give the user an option to turn off garbage collection entirely.
Literature
- Andrew Appel, Compiling with continuations, Chapter 16
Reactions are currently unavailable