[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: restarting the GC
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 29 Dec 2010 14:42:22 -0200
> There is also another thing (which I don't know if it can be fixed):
> If the GC was disabled for a while and is reenabled, it starts with a
> full sweep - resulting in quite a lag (at least I believe so). Could
> it be possible to allow a "warm start" so that the GC will slowly
> start cleaning all the data that was left behind instead of making the
> full sweep instantly?
Are you sure about that? In what version of Lua? As far as I can see,
when the collector is restarted its "debt" is zeroed; it should not
do a full sweep.
-- Roberto