Matt S Trout > Rakudo-Star-2012.08_001 > config/auto/gc.pm

Download:
Rakudo-Star-2012.08_001.tar.gz

Annotate this POD

Source  

NAME ^

config/auto/gc.pm - Garbage Collection

DESCRIPTION ^

Sets memory allocator.

The --gc command-line option enables the configurer to choose among several garbage collectors. Current available options are:

ms

Stop-the-world mark & sweep

inf

Infinite memory "collector"

ms2

New style mark & sweep

gms (default)

Generational M&S based on MS2

The choice is stored as gc_type in %PConfig, and available (uppercased) as PARROT_GC_DEFAULT_TYPE in parrot/config.h

For backwards compatibility with parrot 3.1.0 and earlier, an empty entry gc_flag is maintained. (It used to be used in Makefiles to append to the C compiler flags.)

syntax highlighting: