[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 23:05:22 -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.
>
> The code is looking pretty good. I have a few minor comments to make
> about it, but the only significant one is that it's a bit more than what
> we can consider as trivial.
>
> AFAICT you haven't yet signed the copyright paperwork for contributions
> to Emacs, so we'd need you to do that before we can accept your code.
I actually submitted the paperwork just yesterday (finally got around to
it since I was sending this in) - I assume it's still being processed.
- Re: Eager garbage collection, (continued)
- [PATCH 3/3] Start opportunistic GC timer at startup, Spencer Baugh, 2020/11/17
- Re: [PATCH 3/3] Start opportunistic GC timer at startup, Eli Zaretskii, 2020/11/18
- Re: Eager garbage collection, Stefan Monnier, 2020/11/17
- Re: Eager garbage collection,
Spencer Baugh <=
- Re: Eager garbage collection, Stefan Monnier, 2020/11/17
- Re: Eager garbage collection, Andrea Corallo, 2020/11/18
- Re: Eager garbage collection, Eli Zaretskii, 2020/11/18
- Re: Eager garbage collection, Andrea Corallo, 2020/11/18
- Re: Eager garbage collection, Eli Zaretskii, 2020/11/18
- Re: Eager garbage collection, Andrea Corallo, 2020/11/18
- Re: Eager garbage collection, Eli Zaretskii, 2020/11/18
- Re: Eager garbage collection, Andrea Corallo, 2020/11/18
- Re: Eager garbage collection, Spencer Baugh, 2020/11/18
- Re: Eager garbage collection, Andrea Corallo, 2020/11/18