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

array garbage collection.



    Date: 12 June 1981 00:25-EDT
    From: George J. Carrette <GJC at MIT-MC>
    Subject: array garbage collection.
    To: BUG-LISP at MIT-MC
    cc: GJC at MIT-MC
    
    I have a HUNK which points to an array containing hunks, and theses
    hunks point back to the top hunk, and also to arrays which contain
    hunks that point back to the top hunk.
    
    => I swear I can show that arrays are not getting garbage collected
       properly <=
    
    Storage is not getting reclaimed, and I run out very fast this way
    on a pdp-10. I almost think I'm crazy reporting that the maclisp
    garbage collector doesn't work. Please tell me it isn't so.
    
    -gjc
I believe you.  It can require multiple GCs to reclaim arrays linked
cirularly.  This is a known problem not easily fixed, and I have some
mail stashed away from several years ago detailing the problem in depth.

It would be interesting to know if the arrays NEVER get reclaimed, or
just require several GCs to be reclaimed.