Searched refs:GCSTEPSIZE (Results 1 – 4 of 4) sorted by relevance
31 #if !defined(GCSTEPSIZE)33 #define GCSTEPSIZE (cast_int(100 * sizeof(TString))) macro
33 #define GCSWEEPMAX (cast_int((GCSTEPSIZE / GCSWEEPCOST) / 4))1149 } while (debt > -GCSTEPSIZE && g->gcstate != GCSpause); in incstep()1179 else luaE_setdebt(g, -GCSTEPSIZE); /* avoid being called too often */ in luaC_step()
1052 lu_mem debt = cast(lu_mem, data) * 1024 - GCSTEPSIZE; in lua_gc()
26 #define GCSTEPSIZE 1024u macro612 l_mem lim = (GCSTEPSIZE/100) * g->gcstepmul; in luaC_step()622 if (g->gcdept < GCSTEPSIZE) in luaC_step()623 g->GCthreshold = g->totalbytes + GCSTEPSIZE; /* - lim/g->gcstepmul;*/ in luaC_step()625 g->gcdept -= GCSTEPSIZE; in luaC_step()