Home
last modified time | relevance | path

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

/external/lua/src/
Dlmem.c136 g->GCdebt -= osize; in luaM_free_()
174 g->GCdebt = (g->GCdebt + nsize) - osize; in luaM_realloc_()
199 g->GCdebt += size; in luaM_malloc_()
Dlstate.h255 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member
385 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt)
Dlgc.c860 l_mem olddebt = g->GCdebt; in checkSizes()
862 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()
1414 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()
1556 l_mem olddebt = g->GCdebt; in sweepstep()
1559 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()
1641 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
Dlgc.h158 { if (G(L)->GCdebt > 0) { pre; luaC_step(L); pos;}; \
Dlstate.c95 g->GCdebt = debt; in luaE_setdebt()
423 g->GCdebt = 0; in lua_newstate()
Dlapi.c1141 debt = cast(l_mem, data) * 1024 + g->GCdebt; in lua_gc()