[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: GC incmode
- From: Mike Pall <mikelu-0501@...>
- Date: Fri, 7 Jan 2005 04:30:25 +0100
Hi,
skaller wrote:
> void luaC_step (lua_State *L) {
> [...]
> however a grep on the source reveals this function and
> indeed luaC_fullgc are never called except in lua_gc.
No, this is not the problem. You missed the define in lgc.h:
#define luaC_checkGC(L) { if (G(L)->totalbytes >= G(L)->GCthreshold) \
luaC_step(L); }
$ cat *.c | grep -c luaC_checkGC
15
Bye,
Mike