Searched refs:GCestimate (Results 1 – 6 of 6) sorted by relevance
956 g->GCestimate = gettotalbytes(g); in luaC_changemode()1059 g->GCestimate = g->GCmemtrav; /* save what was counted */ in singlestep()1061 g->GCestimate += work; /* estimate of total memory traversed */ in singlestep()1118 if (g->GCestimate == 0) { /* signal for another major collection? */ in generationalcollection()1120 g->GCestimate = gettotalbytes(g); /* update control */ in generationalcollection()1123 lu_mem estimate = g->GCestimate; in generationalcollection()1127 g->GCestimate = 0; /* signal for a major collection */ in generationalcollection()1129 g->GCestimate = estimate; /* keep estimate from last major coll. */ in generationalcollection()1150 setpause(g, g->GCestimate); /* pause until next cycle */ in incstep()
118 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */ member
284 g->GCestimate = 0; in lua_newstate()
1049 res = (g->GCestimate == 0); /* true if it will do major collection */ in lua_gc()
874 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()1060 l_mem estimate = g->GCestimate / PAUSEADJ; /* adjust 'estimate' */ in setpause()1307 g->GCestimate = gettotalbytes(g); /* base for memory control */ in atomic2gen()1412 g->GCestimate = gettotalbytes(g); /* first estimate */; in stepgenfull()1444 lu_mem majorbase = g->GCestimate; /* memory after last major collection */ in genstep()1461 g->GCestimate = majorbase; /* preserve base value */ in genstep()1572 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()1607 g->GCestimate = gettotalbytes(g); /* first estimate */; in singlestep()1715 lua_assert(g->GCestimate == gettotalbytes(g)); in fullinc()
259 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */ member