Searched refs:GCdebt (Results 1 – 12 of 12) sorted by relevance
154 g->GCdebt -= osize; in luaM_free_()187 g->GCdebt = (g->GCdebt + nsize) - osize; in luaM_realloc_()212 g->GCdebt += size; in luaM_malloc_()
258 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member394 #define gettotalbytes(g) cast(lu_mem, (g)->totalbytes + (g)->GCdebt)
874 l_mem olddebt = g->GCdebt; in checkSizes()876 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()1448 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()1571 l_mem olddebt = g->GCdebt; in sweepstep()1574 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()1669 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
95 g->GCdebt = debt; in luaE_setdebt()401 g->GCdebt = 0; in lua_newstate()
168 { if (G(L)->GCdebt > 0) { pre; luaC_step(L); pos;}; \
1174 debt = cast(l_mem, data) * 1024 + g->GCdebt; in lua_gc()
95 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
117 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member221 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt)
104 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()105 g->GCdebt = debt; in luaE_setdebt()301 g->GCdebt = 0; in lua_newstate()
124 {if (G(L)->GCdebt > 0) {c;} condchangemem(L);}
1140 l_mem debt = g->GCdebt; in incstep()
1056 debt += g->GCdebt; /* include current debt */ in lua_gc()