chicken-hackers
[Top][All Lists]
Advanced

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

Re: [PATCH] force finalizers only if finalizers exist


From: Evan Hanson
Subject: Re: [PATCH] force finalizers only if finalizers exist
Date: Wed, 29 Apr 2020 19:08:45 +1200

On 2020-04-07 14:51, address@hidden wrote:
> > > This patch disables the final GC for finalizer forcing at normal program 
> > > termination
> > > if no finalizers are live as the GC is unnecessary in such cases.
> >
> > How about possible pending finalizers?
> 
> You mean pending from a previous GC? I'm not sure - shouldn't they already
> be executed at this stage?

Hey megane, could you go into a bit more detail about this?

If I understand correctly, you mean that some finalizers that have been
moved onto the pending_finalizers_symbol may not have been invoked by
this point, but will also not included in the C_i_live_finalizers_count,
is that right? That seems right to me, but it's not clear to me what the
check should rather be.

Evan



reply via email to

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