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: Han-Wen Nienhuys
Subject: Re: Guile 1.5.8 beta available for testing.
Date: Thu, 5 Sep 2002 14:08:43 +0200

address@hidden writes:
> On 4 Sep 2002, Han-Wen Nienhuys <address@hidden> wrote: 
> > Sven writes:
> > > Impl.          Time   RAM
> > > SCM 5d6         5877s 386MB (The used SCM version is not optimized for 
> > > speed.)
> > > Guile 1.5.8    13273s 971MB
> > > Guile 20020830 -      - (program runs for ever with a size of 258MB)
> > 
> > Is there some way for me to run this program over here in a debugger?
> No :-(
> > If that's not possible, then you could give us some hints. My hunch is
> > that GC is triggered in recent GUILEs too often, but I can't tell from
> > here if that is so, and why it does.
> 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.

--
Han-Wen Nienhuys   |   address@hidden    | http://www.cs.uu.nl/~hanwen/





reply via email to

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