NAME

config/auto/gc.pm - Garbage Collection

DESCRIPTION

Checks whether the --gc command-line option was passed to Configure.pl and sets the memory allocator accordingly.

Eventually, --gc will be able to take any of the following values:

gc
The default. Use the memory allocator in src/recources.c.
libc
Use the C library malloc along with src/gc/res_lea.c. This doesn't currently work. See [perl #42774].
malloc
Use the malloc in src/malloc.c along with src/gc/res_lea.c. Since this uses res_lea.c, it doesn't currently work either. See [perl #42774].
malloc-trace
Use the malloc in src/malloc-trace.c with tracing enabled, along with src/gc/res_lea.c. Since this uses res_lea.c, it doesn't work currently either. See [perl #42774].

So, for the time being, only the default value works.