On Mon, 24 Dec 2007, James Keenan via RT wrote:

> Additional question:  The POD to this configuration step class states:
> 
>     "--gc" can take the 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 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 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 either. See [perl #42774].
> 
> 
> Okay, so if only 1 of the 4 possible values for the --gc option works,
> why shouldn't we (or, I, as the cage cleaner in this area) just rip out
> the code for the 3 non-working values?

They almost work.  If they did work, they would probably be helpful in 
tracking down hard-to-isolate-but-maybe-garbage-collection bugs.  Making 
them work would also be a good test of whether parrot's memory allocation 
model is sufficiently well-specified and encapsulated.

-- 
    Andy Dougherty              [EMAIL PROTECTED]

Reply via email to