Lines Matching refs:generations
40 #define GEN_HEAD(n) (&generations[n].head)
43 static struct gc_generation generations[NUM_GENERATIONS] = { variable
903 generations[generation+1].count += 1; in collect()
905 generations[i].count = 0; in collect()
1042 if (generations[i].count > generations[i].threshold) { in collect_generations()
1176 &generations[0].threshold, in gc_set_thresh()
1177 &generations[1].threshold, in gc_set_thresh()
1178 &generations[2].threshold)) in gc_set_thresh()
1182 generations[i].threshold = generations[2].threshold; in gc_set_thresh()
1198 generations[0].threshold, in gc_get_thresh()
1199 generations[1].threshold, in gc_get_thresh()
1200 generations[2].threshold); in gc_get_thresh()
1212 generations[0].count, in gc_get_count()
1213 generations[1].count, in gc_get_count()
1214 generations[2].count); in gc_get_count()
1504 generations[0].count++; /* number of allocated GC objects */ in _PyObject_GC_Malloc()
1505 if (generations[0].count > generations[0].threshold && in _PyObject_GC_Malloc()
1507 generations[0].threshold && in _PyObject_GC_Malloc()
1558 if (generations[0].count > 0) { in PyObject_GC_Del()
1559 generations[0].count--; in PyObject_GC_Del()