[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: PATCH: fixes bug with calling garbage collector from custom lua_Alloc
- From: "Bogdan Marinescu" <bogdan.marinescu@...>
- Date: Mon, 12 May 2008 09:59:27 +0300
> I could move the memlimit+"emergency GC on failed allocation" code into the
> default allocator that gets replaced by the custom allocator. This way user
> that don't want to create their own allocator can use the memlimit feature
> and others that want more control can replace it with their own tuned
> allocator. I think this might be the best option.
I agree with this, I also think this is the best option.