aboutsummaryrefslogtreecommitdiff
blob: a38b7cc7b64d4a94a1534a1e109d77e4396b2681 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Choose the Garbage Collector used by the translated program.
The recommended default is "incminimark".

  - "ref": reference counting. Takes very long to translate and the result is
    slow.  Used only for tests.  Don't use it for real RPython programs.

  - "none": no GC.  Leaks everything.  Don't use it for real RPython
    programs: the rate of leaking is immense.

  - "semispace": a copying semi-space GC.

  - "generation": a generational GC using the semi-space GC for the
    older generation.

  - "hybrid": a hybrid collector of "generation" together with a
    mark-n-sweep old space

  - "boehm": use the Boehm conservative GC.

  - "minimark": a generational mark-n-sweep collector with good
    performance.  Includes page marking for large arrays.

  - "incminimark": like minimark, but adds incremental major
    collections.  Seems to come with no performance drawback over
    "minimark", so it is the default.  A few recent features of PyPy
    (like cpyext) are only working with this GC.