Lines Matching refs:gcstate
138 lua_assert(g->gcstate != GCSpause); in luaC_barrier_()
502 if (g->gcstate == GCSatomic) { /* final traversal? */ in traversestack()
939 g->gcstate = GCSsweepstring; in entersweep()
1042 switch (g->gcstate) { in singlestep()
1048 g->gcstate = GCSpropagate; in singlestep()
1060 g->gcstate = GCSatomic; /* finish mark phase */ in singlestep()
1074 g->gcstate = GCSsweepudata; in singlestep()
1083 g->gcstate = GCSsweep; in singlestep()
1097 g->gcstate = GCSpause; /* finish collection */ in singlestep()
1112 while (!testbit(statesmask, g->gcstate)) in luaC_runtilstate()
1119 lua_assert(g->gcstate == GCSpropagate); in generationalcollection()
1127 g->gcstate = GCSpropagate; /* skip restart */ in generationalcollection()
1135 lua_assert(g->gcstate == GCSpropagate); in generationalcollection()
1150 } while (debt > -GCSTEPSIZE && g->gcstate != GCSpause); in incstep()
1151 if (g->gcstate == GCSpause) in incstep()
1169 for (i = 0; g->tobefnz && (i < GCFINALIZENUM || g->gcstate == GCSpause); i++) in luaC_forcestep()