lua-users home
lua-l archive

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


on 3/17/05 5:34 PM, Mike Pall at mikelu-0503@mike.de wrote:

> Umm, but luaC_step will only ever call back another function inside
> GCTM and this one _does_ disable hooks (both in the original core and
> with the RVM patch). And GCTM suspends the GC, too, to avoid recursive
> calls to luaC_step. I.e. infinite recursion is already taken care of.
> 
> I can only infer that you see a memory leak or infinite recursion,
> but I fail to see how your change improves the situation. Care to explain?
> 
> Oh and completely disabling the GC inside hooks is at least problematic.

Older versions of GCTM weren't disabling recursion. I'll go look more
closely. Thanks.

Mark