MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / setminordebt

Function setminordebt

extlibs/lua/src/lgc.c:1248–1250  ·  view source on GitHub ↗

** Set debt for the next minor collection, which will happen when ** memory grows 'genminormul'%. */

Source from the content-addressed store, hash-verified

1246** memory grows 'genminormul'%.
1247*/
1248static void setminordebt (global_State *g) {
1249 luaE_setdebt(g, -(cast(l_mem, (gettotalbytes(g) / 100)) * g->genminormul));
1250}
1251
1252
1253/*

Callers 2

stepgenfullFunction · 0.85
genstepFunction · 0.85

Calls 1

luaE_setdebtFunction · 0.85

Tested by

no test coverage detected