chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] Need help to understand C_mutate better.


From: Jörg F . Wittenberger
Subject: Re: [Chicken-hackers] Need help to understand C_mutate better.
Date: 26 Oct 2011 13:57:44 +0200

On Oct 25 2011, Felix wrote:

Couldn't either the signal handler return to gc, or - my preferred
alternative - the minor gc run prior to the signal handler?
Would make chicken robust to the case at hand.

This sounds possible, but it will trigger a collection even in cases
where it is not needed, that is, when C_reclaim was entered due to an
interrupt.

Sure it would.

But this should be little to no cost over all.  It would be a minor
gc.  Since this clear the mutation stack (O(n) in entries) doing
so later (with a some more entries in the m-stack) should IMHO
cost the same time later, shouldn't it?

/Jörg






reply via email to

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