MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / entersweep

Function entersweep

lib/lua/src/lgc.c:1486–1491  ·  view source on GitHub ↗

** Enter first sweep phase. ** The call to 'sweeptolive' makes the pointer point to an object ** inside the list (instead of to the header), so that the real sweep do ** not need to skip objects created between "now" and the start of the ** real sweep. */

Source from the content-addressed store, hash-verified

1484** real sweep.
1485*/
1486static void entersweep (lua_State *L) {
1487 global_State *g = G(L);
1488 g->gcstate = GCSswpallgc;
1489 lua_assert(g->sweepgc == NULL);
1490 g->sweepgc = sweeptolive(L, &g->allgc);
1491}
1492
1493
1494/*

Callers 3

stepgenfullFunction · 0.85
singlestepFunction · 0.85
fullincFunction · 0.85

Calls 2

sweeptoliveFunction · 0.85
GFunction · 0.50

Tested by

no test coverage detected