[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: GC incmode
- From: skaller <skaller@...>
- Date: 07 Jan 2005 12:09:14 +1100
Roberto: I may have missed something, but ..
This function:
void luaC_step (lua_State *L) {
would in fact handle incremental behaviour with this fragment
} while (lim > 0 || !g->incgc);
however a grep on the source reveals this function and
indeed luaC_fullgc are never called except in lua_gc.
lua_gc in turn is only called by collectgarbage with
an appropriate flag.
I can't see how it can work if it isn't called.
The step function should be called on every memory
allocation shouldn't it?
--
John Skaller, mailto:skaller@users.sf.net
voice: 061-2-9660-0850,
snail: PO BOX 401 Glebe NSW 2037 Australia
Checkout the Felix programming language http://felix.sf.net