MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaC_runtilstate

Function luaC_runtilstate

freebsd/contrib/openzfs/module/lua/lgc.c:1109–1113  ·  view source on GitHub ↗

** advances the garbage collector until it reaches a state allowed ** by 'statemask' */

Source from the content-addressed store, hash-verified

1107** by 'statemask'
1108*/
1109void luaC_runtilstate (lua_State *L, int statesmask) {
1110 global_State *g = G(L);
1111 while (!testbit(statesmask, g->gcstate))
1112 singlestep(L);
1113}
1114
1115
1116static void generationalcollection (lua_State *L) {

Callers 4

luaS_resizeFunction · 0.85
luaC_changemodeFunction · 0.85
generationalcollectionFunction · 0.85
luaC_fullgcFunction · 0.85

Calls 1

singlestepFunction · 0.70

Tested by

no test coverage detected