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

Function luaC_step

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

** performs a basic GC step only if collector is running */

Source from the content-addressed store, hash-verified

1174** performs a basic GC step only if collector is running
1175*/
1176void luaC_step (lua_State *L) {
1177 global_State *g = G(L);
1178 if (g->gcrunning) luaC_forcestep(L);
1179 else luaE_setdebt(g, -GCSTEPSIZE); /* avoid being called too often */
1180}
1181
1182
1183

Callers 1

lvm.cFile · 0.70

Calls 2

luaC_forcestepFunction · 0.85
luaE_setdebtFunction · 0.85

Tested by

no test coverage detected