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)
872 l_mem olddebt = g->GCdebt; in checkSizes()874 g->GCestimate += g->GCdebt - olddebt; /* correct estimate */ in checkSizes()1446 if (g->GCdebt > 0 && gettotalbytes(g) > majorbase + majorinc) { in genstep()1569 l_mem olddebt = g->GCdebt; in sweepstep()1572 g->GCestimate += g->GCdebt - olddebt; /* update estimate */ in sweepstep()1667 l_mem debt = (g->GCdebt / WORK2MEM) * stepmul; in incstep()
95 g->GCdebt = debt; in luaE_setdebt()398 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()
94 g->GCdebt = (g->GCdebt + nsize) - realosize; in luaM_realloc_()
103 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()104 g->GCdebt = debt; in luaE_setdebt()300 g->GCdebt = 0; in lua_newstate()
116 l_mem GCdebt; /* bytes allocated not yet compensated by the collector */ member220 #define gettotalbytes(g) ((g)->totalbytes + (g)->GCdebt)
123 {if (G(L)->GCdebt > 0) {c;} condchangemem(L);}
1139 l_mem debt = g->GCdebt; in incstep()
1055 debt += g->GCdebt; /* include current debt */ in lua_gc()