Debian Codegraph @

pypy/doc/config/translation.gc.txt

raw
1 Choose the Garbage Collector used by the translated program.
2 The recommended default is "incminimark".
3
4 - "ref": reference counting. Takes very long to translate and the result is
5 slow. Used only for tests. Don't use it for real RPython programs.
6
7 - "none": no GC. Leaks everything. Don't use it for real RPython
8 programs: the rate of leaking is immense.
9
10 - "semispace": a copying semi-space GC.
11
12 - "generation": a generational GC using the semi-space GC for the
13 older generation.
14
15 - "hybrid": a hybrid collector of "generation" together with a
16 mark-n-sweep old space
17
18 - "boehm": use the Boehm conservative GC.
19
20 - "minimark": a generational mark-n-sweep collector with good
21 performance. Includes page marking for large arrays.
22
23 - "incminimark": like minimark, but adds incremental major
24 collections. Seems to come with no performance drawback over
25 "minimark", so it is the default. A few recent features of PyPy
26 (like cpyext) are only working with this GC.