guile-devel
[Top][All Lists]
Advanced

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

Re: module GC bug


From: Han-Wen Nienhuys
Subject: Re: module GC bug
Date: Sun, 17 Jul 2005 20:50:28 +0200
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

Marius Vollmer wrote:
Han-Wen Nienhuys <address@hidden> writes:


what happens if the weak (c[ad]r ITEM) is marked through a postponed
weak vector that you haven't processed yet?  Then P is removed
erroneously, or am I missing something?


Hmm, you are right.  I first have thought about this behavior as a
feature, but I now see that it is in fact not wanted.  The order the
weak vectors are processed in affects the result, which is not good,
obviously.

Right now, I hope to get around this by repeatedly scanning all weak
vectors until no new markings have taken place, and only then remove
the unmarked items.


Hi;

isn't it possible to store the 'module property in a doubly weak hash table? What you propose sounds very costly , and my gut instinct says that I can punch a hole in it as well.



Thanks for pointing this out!



--
 Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen




reply via email to

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