[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Eager garbage collection
From: |
Spencer Baugh |
Subject: |
Re: Eager garbage collection |
Date: |
Tue, 17 Nov 2020 19:20:47 -0500 |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>The time to do a GC doesn't depend on the amount of garbage so much as
>the size of the heap, but I think I like your idea. Better yet: keep
>track of the time that each GC takes and use that as a guide for the
>idle-time delay.
OK, I added an exponential-moving-average to track the time that GC
uses, and use it as the idle-time delay, with the idea that if we
reach idle time X, the naive best estimate of the total idle time is
2*X. See following patches.
- Eager garbage collection, sbaugh, 2020/11/15
- Re: Eager garbage collection, Stefan Monnier, 2020/11/17
- Re: Eager garbage collection, Spencer Baugh, 2020/11/17
- Re: Eager garbage collection, Stefan Monnier, 2020/11/17
- Re: Eager garbage collection, Andrea Corallo, 2020/11/18