Lines Matching +full:positive +full:- +full:phase
24 ** when the invariant is not being enforced (e.g., sweep phase).
43 (GCSswpallgc <= (g)->gcstate && (g)->gcstate <= GCSswpend)
49 ** phase may break the invariant, as objects turned white may point to
50 ** still-black objects. The invariant is restored when sweep ends and
54 #define keepinvariant(g) ((g)->gcstate <= GCSatomic)
87 #define iswhite(x) testbits((x)->marked, WHITEBITS)
88 #define isblack(x) testbit((x)->marked, BLACKBIT)
90 (!testbits((x)->marked, WHITEBITS | bitmask(BLACKBIT)))
92 #define tofinalize(x) testbit((x)->marked, FINALIZEDBIT)
94 #define otherwhite(g) ((g)->currentwhite ^ WHITEBITS)
96 #define isdead(g,v) isdeadm(otherwhite(g), (v)->marked)
98 #define changewhite(x) ((x)->marked ^= WHITEBITS)
100 check_exp(!iswhite(x), l_setbit((x)->marked, BLACKBIT))
102 #define luaC_white(g) cast_byte((g)->currentwhite & WHITEBITS)
116 #define getage(o) ((o)->marked & AGEBITS)
117 #define setage(o,a) ((o)->marked = cast_byte(((o)->marked & (~AGEBITS)) | a))
121 check_exp(getage(o) == (f), (o)->marked ^= ((f)^(t)))
147 ** mode to improve performance. This is signaled by 'g->lastatomic != 0'.
149 #define isdecGCmodegen(g) (g->gckind == KGC_GEN || g->lastatomic != 0)
158 #define gcrunning(g) ((g)->gcstp == 0)
162 ** Does one step of collection when debt becomes positive. 'pre'/'pos'
168 { if (G(L)->GCdebt > 0) { pre; luaC_step(L); pos;}; \