Lines Matching refs:generations
128 #define GEN_HEAD(gcstate, n) (&(gcstate)->generations[n].head)
149 assert(gcstate->generations[i].count == 0);
150 INIT_HEAD(gcstate->generations[i]);
1045 // Show stats for objects in each generations
1209 gcstate->generations[generation+1].count += 1;
1211 gcstate->generations[i].count = 0;
1213 /* merge younger generations with one we are currently collecting */
1412 * generations younger than it will be collected. */
1415 if (gcstate->generations[i].count > gcstate->generations[i].threshold) {
1432 the young and middle generations) will always examine roughly the same
1596 &gcstate->generations[0].threshold,
1597 &gcstate->generations[1].threshold,
1598 &gcstate->generations[2].threshold))
1601 /* generations higher than 2 get the same threshold */
1602 gcstate->generations[i].threshold = gcstate->generations[2].threshold;
1619 gcstate->generations[0].threshold,
1620 gcstate->generations[1].threshold,
1621 gcstate->generations[2].threshold);
1636 gcstate->generations[0].count,
1637 gcstate->generations[1].count,
1638 gcstate->generations[2].count);
1770 "available generations (%i)",
1788 /* If generation is not passed or None, get all objects from all generations */
1910 gcstate->generations[i].count = 0;
2262 gcstate->generations[0].count++; /* number of allocated GC objects */
2263 if (gcstate->generations[0].count > gcstate->generations[0].threshold &&
2265 gcstate->generations[0].threshold &&
2360 if (gcstate->generations[0].count > 0) {
2361 gcstate->generations[0].count--;