guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Guile 1.5.8 beta available for testing.


From: Sven Hartrumpf
Subject: Re: Guile 1.5.8 beta available for testing.
Date: Thu, 05 Sep 2002 21:52:35 +0200 (CEST)

On 5 Sep 2002, Han-Wen Nienhuys <address@hidden> wrote: 
> > How can I make the GC verbose?
> 
> Insert printfs in scm_igc () (gc.c) and scm_i_sweep_all_segments()
> (gc-segment.c), the argument they take is the type of object being
> allocated. Also, you could insert a
> 
>   scm_display(scm_gc_stats(), scm_current_error_port ())
> 
> at the end of scm_igc, halfway in scm_gc_for_newcell().
> 
> Also there's some printfs in gc-malloc.c that you could switch on.

Thanks. I was lazy and just added in libguile/gc.h:
#define DEBUGINFO (Maybe rename it?)

(Then, I had to add #include <stdio.h> in libguile/gc-freelist.c to avoid
an gcc error.)

I will report the results to Han-Wen.

Sven




reply via email to

[Prev in Thread] Current Thread [Next in Thread]