[Top][All Lists]

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

Re: [Chicken-hackers] [PATCH] limit number of live finalizers

From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] limit number of live finalizers
Date: Sat, 23 Jun 2012 14:53:21 +0200
User-agent: Mutt/

On Sat, Jun 23, 2012 at 02:47:49PM +0200, Felix wrote:
> This patch limits the number of available finalizers (currently to
> 4096) and removes the dynamic resizing of the "pending finalizers
> vector", which is IMHO the cause of crashes when finalizers are
> created excessively. Contrary to an earlier e-mail I do now think that
> this problem needs to be fixed right now and should not be postponed
> to a later release (and I do not see any other solution in the
> moment). 

I agree it must be fixed in the upcoming release.

> User programs can override the finalizer limit using the "-:f" runtime
> option if a large number of finalizations are expected or required in 
> specific applications.

I'd like a little more time to investigate the bug.  This patch can
always be applied.  It would be a shame if we can come up with a better
fix after this makes it into the release.

"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

reply via email to

[Prev in Thread] Current Thread [Next in Thread]