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.h48 (GCSsweepstring <= (g)->gcstate && (g)->gcstate <= GCSsweep)
61 #define keepinvariant(g) (isgenerational(g) || g->gcstate <= GCSatomic)
69 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
70 g->gcstate <= GCSatomic)
H A Dlgc.c136 lua_assert(g->gcstate != GCSpause); in luaC_barrier_()
404 if (g->gcstate != GCSatomic || prop) in traverseephemeron()
500 if (g->gcstate == GCSatomic) { /* final traversal? */ in traversestack()
937 g->gcstate = GCSsweepstring; in entersweep()
1040 switch (g->gcstate) { in singlestep()
1046 g->gcstate = GCSpropagate; in singlestep()
1058 g->gcstate = GCSatomic; /* finish mark phase */ in singlestep()
1072 g->gcstate = GCSsweepudata; in singlestep()
1081 g->gcstate = GCSsweep; in singlestep()
1095 g->gcstate = GCSpause; /* finish collection */ in singlestep()
[all …]
H A Dlstate.h123 lu_byte gcstate; /* state of garbage collector */ member
H A Dlstate.c292 g->gcstate = GCSpause; in lua_newstate()
H A Dlapi.c1058 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()
630 if (isold(th) || g->gcstate == GCSpropagate) in traversethread()
634 lua_assert(g->gcstate == GCSatomic || in traversethread()
640 if (g->gcstate == GCSatomic) { /* final traversal? */ in traversethread()
1238 g->gcstate = GCSpropagate; /* skip restart */ in finishgencycle()
1252 lua_assert(g->gcstate == GCSpropagate); in youngcollection()
1262 g->gcstate = GCSswpallgc; in youngcollection()
1293 g->gcstate = GCSswpallgc; in atomic2gen()
1349 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.c386 g->gcstate = GCSpause; in lua_newstate()
H A Dlapi.c1179 if (debt > 0 && g->gcstate == GCSpause) /* end of cycle? */ in lua_gc()