• Neil Schemenauer's avatar
    Move all data for a single generation into a structure. The set of · 2880ae53
    Neil Schemenauer yazdı
    generations is now an array.  This cleans up some code and makes it easy
    to change the number of generations.  Also, implemented a
    gc_list_is_empty() function.  This makes the logic a little clearer in
    places.  The performance impact of these changes should be negligible.
    
    One functional change is that allocation/collection counters are always
    zeroed at the start of a collection.  This should fix SF bug #551915.
    This change is too big for back-porting but the minimal patch on SF
    looks good for a bugfix release.
    2880ae53
gcmodule.c 23.1 KB