Home
last modified time | relevance | path

Searched refs:gcstate (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/module/lua/
H A Dlgc.h49 (GCSsweepstring <= (g)->gcstate && (g)->gcstate <= GCSsweep)
62 #define keepinvariant(g) (isgenerational(g) || g->gcstate <= GCSatomic)
70 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
71 g->gcstate <= GCSatomic)
H A Dlgc.c137 lua_assert(g->gcstate != GCSpause); in luaC_barrier_()
405 if (g->gcstate != GCSatomic || prop) in traverseephemeron()
501 if (g->gcstate == GCSatomic) { /* final traversal? */ in traversestack()
938 g->gcstate = GCSsweepstring; in entersweep()
1041 switch (g->gcstate) { in singlestep()
1047 g->gcstate = GCSpropagate; in singlestep()
1059 g->gcstate = GCSatomic; /* finish mark phase */ in singlestep()
1073 g->gcstate = GCSsweepudata; in singlestep()
1082 g->gcstate = GCSsweep; in singlestep()
1096 g->gcstate = GCSpause; /* finish collection */ in singlestep()
[all …]
H A Dlstate.h124 lu_byte gcstate; /* state of garbage collector */ member
H A Dlstate.c293 g->gcstate = GCSpause; in lua_newstate()
H A Dlapi.c1059 if (g->gcstate == GCSpause) /* end of cycle? */ in lua_gc()
/freebsd/contrib/lua/src/
H A Dlgc.c461 if (g->gcstate == GCSatomic && hasclears) in traverseweakvalue()
511 if (g->gcstate == GCSpropagate) in traverseephemeron()
632 if (isold(th) || g->gcstate == GCSpropagate) in traversethread()
636 lua_assert(g->gcstate == GCSatomic || in traversethread()
642 if (g->gcstate == GCSatomic) { /* final traversal? */ in traversethread()
1240 g->gcstate = GCSpropagate; /* skip restart */ in finishgencycle()
1254 lua_assert(g->gcstate == GCSpropagate); in youngcollection()
1264 g->gcstate = GCSswpallgc; in youngcollection()
1295 g->gcstate = GCSswpallgc; in atomic2gen()
1351 g->gcstate = GCSpause; in enterinc()
[all …]
H A Dlgc.h43 (GCSswpallgc <= (g)->gcstate && (g)->gcstate <= GCSswpend)
54 #define keepinvariant(g) ((g)->gcstate <= GCSatomic)
H A Dltests.c330 printf("%d(%02X) - ", g->gcstate, g->currentwhite); in testobjref()
517 assert(g->gcstate != GCSpause || iswhite(o)); in checkobject()
645 maybedead = (GCSatomic < g->gcstate && g->gcstate <= GCSswpallgc); in lua_checkmemory()
946 lua_pushstring(L, statenames[G(L)->gcstate]); in gc_state()
954 if (option < g->gcstate) { /* must cross 'pause'? */ in gc_state()
958 lua_assert(G(L)->gcstate == option); in gc_state()
H A Dlstate.h266 lu_byte gcstate; /* state of garbage collector */ member
H A Dlstate.c389 g->gcstate = GCSpause; in lua_newstate()
H A Dlapi.c1179 if (debt > 0 && g->gcstate == GCSpause) /* end of cycle? */ in lua_gc()