[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: bug of GC "step"
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 3 Jul 2008 23:00:50 -0300
> 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