[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Garbage collector behaviour changed from 5.1 to 5.2
- From: Roberto Ierusalimschy <roberto@...>
- Date: Sun, 27 May 2012 09:55:05 -0300
> > On Sun, May 27, 2012 at 12:04 AM, Roberto Ierusalimschy
> > <email@example.com> wrote:
> > > (In particular, with stepmul = maxint and pause = 0, the interpreter
> > > should run a whole collection cycle for each single allocation ;)
> > With the test I posted stepmul = maxint and pause = 0 appears to cause
> > a full collection every 50 allocations. Is that right?
> Not exactly. I expected it to do a full collection every few
> allocations. I am afraid stepmul = maxint may overflow on 32-bit
> machines. I will check that.
Apparently there is no overflows. It really should do a full collection
for every new object created. (Some objects may allocate several blocks
of memory, but 50 is unusual.) In some quick tests I got the expected