Searched refs:GCestimate (Results 1 – 4 of 4) sorted by relevance
957 g->GCestimate = gettotalbytes(g); in luaC_changemode()1060 g->GCestimate = g->GCmemtrav; /* save what was counted */; in singlestep()1062 g->GCestimate += work; /* estimate of total memory traversed */ in singlestep()1119 if (g->GCestimate == 0) { /* signal for another major collection? */ in generationalcollection()1121 g->GCestimate = gettotalbytes(g); /* update control */ in generationalcollection()1124 lu_mem estimate = g->GCestimate; in generationalcollection()1128 g->GCestimate = 0; /* signal for a major collection */ in generationalcollection()1130 g->GCestimate = estimate; /* keep estimate from last major coll. */ in generationalcollection()1151 setpause(g, g->GCestimate); /* pause until next cycle */ in incstep()
119 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */ member
285 g->GCestimate = 0; in lua_newstate()
1048 res = (g->GCestimate == 0); /* true if it will do major collection */ in lua_gc()