[darcs-users] Re: [BK] upgrade will be needed

David Roundy droundy at abridgegame.org
Sat Mar 5 14:29:59 UTC 2005

On Fri, Mar 04, 2005 at 03:01:48PM +0100, Thomas Zander wrote:
> So far I get the impression that this level of GC interaction has not been 
> looked into, but maybe this post being on the users list does explain 
> that :)

I've not really looked into tuning the GC.  It isn't a bad idea, but back
when I considered doing so, I (correctly) decided that darcs' memory
behavior would change fast enough that tuning the GC wouldn't be
worthwhile.  In fact, the hideous_malloc_hack (which is available as a
configure option) dates from that time, and I keep thinking I should remove

I guess darcs is stabilizing enough, and we've now got enough developers,
so that it may be worthwhile for someone to figure out how to improve
interactions with the GC.  I'm not sure, but I myself find the subject of
tuning the GC a bit frightening.

> ps. are large objects 'marked' as such so the GC will avoid copying them 
> between GC runs?

The contents of ForeignPtrs--which are the large objects in darcs--are
never copied, since the GC doesn't manage their contents.
David Roundy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.osuosl.org/pipermail/darcs-users/attachments/20050305/f1d6ef01/attachment.pgp 

More information about the darcs-users mailing list