Home
last modified time | relevance | path

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

/freebsd/sys/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.c1050 res = (g->GCestimate == 0); /* true if it will do major collection */ in lua_gc()
/freebsd/contrib/lua/src/
H A Dlgc.c876 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()
1062 l_mem estimate = g->GCestimate / PAUSEADJ; /* adjust 'estimate' */ in setpause()
1309 g->GCestimate = gettotalbytes(g); /* base for memory control */ in atomic2gen()
1414 g->GCestimate = gettotalbytes(g); /* first estimate */ in stepgenfull()
1446 lu_mem majorbase = g->GCestimate; /* memory after last major collection */ in genstep()
1463 g->GCestimate = majorbase; /* preserve base value */ in genstep()
1574 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()
1609 g->GCestimate = gettotalbytes(g); /* first estimate */ in singlestep()
1719 lua_assert(g->GCestimate == gettotalbytes(g)); in fullinc()
H A Dlstate.h259 lu_mem GCestimate; /* an estimate of the non-garbage memory in use */ member