modified Oct 19, 2007 by Armin Rigo
translation.gc
back to parent
- name: gc
- description: Garbage Collection Strategy
- command-line: --gc
- option type: choice option
- possible values:
- boehm
- ref
- marksweep
- semispace
- statistics
- generation
- hybrid
- markcompact
- none
- default: ref
- requirements:
- value 'boehm' requires:
- value 'ref' requires:
- value 'marksweep' requires:
- value 'semispace' requires:
- value 'statistics' requires:
- value 'generation' requires:
- value 'hybrid' requires:
- value 'markcompact' requires:
- value 'none' requires:
Choose the Garbage Collector used by the translated program:
- "ref": reference counting. Takes very long to translate and the result is
slow.
- "marksweep": naive mark & sweep.
- "semispace": a copying semi-space GC.
- "generation": a generational GC using the semi-space GC for the
older generation.
- "boehm": use the Boehm conservative GC.