Backport from sid to buster
[hcoop/debian/mlton.git] / doc / guide / src / GarbageCollection.adoc
CommitLineData
7f918cf1
CE
1GarbageCollection
2=================
3
4For a good introduction and overview to garbage collection, see
5<!Cite(Jones99)>.
6
7MLton's garbage collector uses copying, mark-compact, and generational
8collection, automatically switching between them at run time based on
9the amount of live data relative to the amount of RAM. The runtime
10system tries to keep the heap within RAM if at all possible.
11
12MLton's copying collector is a simple, two-space, breadth-first,
13Cheney-style collector. The design for the generational and
14mark-compact GC is based on <!Cite(Sansom91)>.
15
16== Design notes ==
17
18* http://www.mlton.org/pipermail/mlton/2002-May/012420.html
19+
20object layout and header word design
21
22== Also see ==
23
24 * <:Regions:>