Home
last modified time | relevance | path

Searched refs:GCestimate (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/lua/
H A Dlgc.c957 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()
H A Dlstate.h119 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */ member
H A Dlstate.c285 g->GCestimate = 0; in lua_newstate()
H A Dlapi.c1048 res = (g->GCestimate == 0); /* true if it will do major collection */ in lua_gc()