]> granicus.if.org Git - python/commit
Move all data for a single generation into a structure. The set of
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>
Sat, 4 May 2002 05:35:20 +0000 (05:35 +0000)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>
Sat, 4 May 2002 05:35:20 +0000 (05:35 +0000)
commit2880ae53e6e3c1b92baa49d49cd53da7aeef5f44
tree2213b33f8efa0f70cdd68996b2f2bbd414ba981e
parentb51033d48f024f84eb0c6e40c6a77520b8065038
Move all data for a single generation into a structure.  The set of
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.
Modules/gcmodule.c