This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: Double-cells - *** warning
- To: Greg dot Harvey at thezone dot net
- Subject: Re: Double-cells - *** warning
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 14 Mar 2000 08:13:51 +0100
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <E12UlAC-00025M-00@mdj.nada.kth.se>
Mikael Djurfeldt <mdj@mdj.nada.kth.se> writes:
> On my machine, Guile spends a lot of time in GC after this change. I
> thought about maybe waiting to commit the change until I had a clear
> idea of why. I had a preliminary look at the code, which I think
> looks good, so I'll now invite everybody in this party. ;-)
OK, found it:
Also scm_gc_cells_collected should be per freelist.
Now, the two freelist's data get mixed, so while collecting the free
cells on the double-cell heap, the GC gets the erroneous idea that it
doesn't need to allocate more single-cell heap...