Searched refs:GCestimate (Results 1 – 4 of 4) sorted by relevance
958 g->GCestimate = gettotalbytes(g); in luaC_changemode()1061 g->GCestimate = g->GCmemtrav; /* save what was counted */; in singlestep()1063 g->GCestimate += work; /* estimate of total memory traversed */ in singlestep()1120 if (g->GCestimate == 0) { /* signal for another major collection? */ in generationalcollection()1122 g->GCestimate = gettotalbytes(g); /* update control */ in generationalcollection()1125 lu_mem estimate = g->GCestimate; in generationalcollection()1129 g->GCestimate = 0; /* signal for a major collection */ in generationalcollection()1131 g->GCestimate = estimate; /* keep estimate from last major coll. */ in generationalcollection()1152 setpause(g, g->GCestimate); /* pause until next cycle */ in incstep()
118 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */ member
287 g->GCestimate = 0; in lua_newstate()
1051 res = (g->GCestimate == 0); /* true if it will do major collection */ in lua_gc()