lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> moreover, putting this line after lgc.c:631 removes the freeze:
> if (g->totalbytes >= g->GCthreshold) g->GCthreshold = g->totalbytes+1;
> and since luaC_step is only used by lua_gc it has little consequences.
> But it would seem better to change the setthreshold macro.

Actually, luaC_step is called from several places through the macro
luaC_checkGC.

-- Roberto