• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/lua/src/

Lines Matching refs:marked

72   (x->marked = cast_byte((x->marked & ~maskcolors) | luaC_white(g)))
75 #define set2gray(x) resetbits(x->marked, maskcolors)
80 (x->marked = cast_byte((x->marked & ~WHITEBITS) | bitmask(BLACKBIT)))
200 ** objects. So, it is marked as OLD0. In the next cycle it will become
261 o->marked = luaC_white(g);
351 ** For each non-marked thread, simulates a barrier between each open
354 ** to act. The "barrier" does not need to check colors: A non-marked
368 p = &thread->twups; /* keep marked thread with upvalues in the list */
369 else { /* thread is not marked or without upvalues */
464 ** iff any object was marked during this traversal (which implies that
475 int marked = 0; /* true if an object is marked in this traversal */
484 marked = 1;
494 else if (iscleared(g, gckeyN(n))) { /* key is not marked (yet)? */
496 if (valiswhite(gval(n))) /* value not marked yet? */
499 else if (valiswhite(gval(n))) { /* value not marked yet? */
500 marked = 1;
513 return marked;
678 ** Repeat until it converges, that is, nothing new is marked. 'dir'
695 if (traverseephemeron(g, h, dir)) { /* marked some value? */
811 ** objects, where a dead object is one marked with the old (non current)
824 int marked = curr->marked;
825 if (isdeadm(ow, marked)) { /* is 'curr' dead? */
830 curr->marked = cast_byte((marked & ~maskgcbits) | white);
884 resetbit(o->marked, FINALIZEDBIT); /* object is "normal" again */
1013 if (tofinalize(o) || /* obj. is already marked... */
1030 l_setbit(o->marked, FINALIZEDBIT); /* mark it as such */
1109 int marked = curr->marked & ~maskgcbits; /* erase GC bits */
1110 curr->marked = cast_byte(marked | G_SURVIVAL | white);
1132 p->marked = cast_byte((p->marked & ~maskgcbits) | white);
1289 ** to ensure that all objects are correctly marked and weak tables
1536 /* at this point, all strongly accessible objects are marked. */
1545 /* at this point, all resurrected objects are marked. */
1555 return work; /* estimate of slots marked by 'atomic' */
1681 ** there may be some objects marked as black, so the collector has