MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / entersweep

Function entersweep

third-party/lua-5.5.0/src/lgc.c:1504–1509  ·  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

1502** real sweep.
1503*/
1504static void entersweep (lua_State *L) {
1505 global_State *g = G(L);
1506 g->gcstate = GCSswpallgc;
1507 lua_assert(g->sweepgc == NULL);
1508 g->sweepgc = sweeptolive(L, &g->allgc);
1509}
1510
1511
1512/*

Callers 3

minor2incFunction · 0.70
singlestepFunction · 0.70
fullincFunction · 0.70

Calls 1

sweeptoliveFunction · 0.70

Tested by

no test coverage detected