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

Re: Hash Tables and GC

    Date: Wed, 7 Sep 88 11:52 PDT
    From: DDYER@riverside.scrc.symbolics.com

    Just to throw a little light into this discussion:   On Symbolics systems there
    is a list of forms to be evaluated before any gc flip (ephemeral or dynamic).
    It's possible to implement whatever kind of weak pointers strategy you want by 
    explicitly clearing whatever pointers are "weak" before the flip occurs.  The
    list is called SI:GC-EVERY-FLIP-LIST

I don't think this works.  After the flip finishes you will then need to
restore the weak pointers that pointed to objects that also had strong
pointers pointing to them.  How do you do this?