Lines Matching refs:generation
41 .. function:: collect(generation=2)
43 With no arguments, run a full collection. The optional argument *generation*
44 may be an integer specifying which generation to collect (from 0 to 2). A
45 :exc:`ValueError` is raised if the generation number is invalid. The number of
49 whenever a full collection or collection of the highest generation (2)
74 Return a list of three per-generation dictionaries containing collection
79 * ``collections`` is the number of times this generation was collected;
82 generation;
86 list) inside this generation.
98 generation (generation ``0``). If an object survives a collection it is moved
99 into the next older generation. Since generation ``2`` is the oldest
100 generation, objects in that generation remain there after a collection. In
104 starts. Initially only generation ``0`` is examined. If generation ``0`` has
105 been examined more than *threshold1* times since generation ``1`` has been
106 examined, then generation ``1`` is examined as well. Similarly, *threshold2*
107 controls the number of collections of generation ``1`` before collecting
108 generation ``2``.
215 "generation": The oldest generation being collected.