> The Right Thing is probably to eventually run the GC on a private thread,
> at least when multiple threads are running at all. That way the finalizers
> run on the same thread that doesn't hold any locks or otherwise risk
> trouble. That's what the JVM and the CLR do.
>
Yes, this was already
On Wed, 6 May 2020 13:13:24 -0400
John Cowan wrote:
> The Right Thing is probably to eventually run the GC on a private
> thread, at least when multiple threads are running at all. That way
> the finalizers run on the same thread that doesn't hold any locks or
> otherwise risk trouble. That's
The Right Thing is probably to eventually run the GC on a private thread,
at least when multiple threads are running at all. That way the finalizers
run on the same thread that doesn't hold any locks or otherwise risk
trouble. That's what the JVM and the CLR do.
On Wed, May 6, 2020 at 5:42 AM
> There might be a situation where a thread is already executing
> ##sys#run-pending-finalizers, but has run out of its time slice, or gc
> interrupted or something. In this situation running
> ##sys#run-pending-finalizers only once might not be enough.
This is basically true, but with threads we
felix.winkelm...@bevuta.com writes:
>> On 2020-04-07 14:51, felix.winkelm...@bevuta.com 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
> On 2020-04-07 14:51, felix.winkelm...@bevuta.com 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
On 2020-04-07 14:51, felix.winkelm...@bevuta.com 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
>
> felix.winkelm...@bevuta.com writes:
>
> > 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
felix.winkelm...@bevuta.com writes:
> 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?
>
> felix
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.
felix
From fe21a1e2d61196d07f766fac87d8bf54dcc95336 Mon Sep 17 00:00:00 2001
From: felix
Date: Tue, 7 Apr 2020 12:40:22 +0200
Subject: [PATCH]
10 matches
Mail list logo