How does a free list work?

Pavel Shkadzko p.shkadzko at gmail.com
Tue May 12 21:09:41 UTC 2020


On Saturday, 9 May 2020 at 22:48:46 UTC, Simen Kjærås wrote:
> On Saturday, 9 May 2020 at 19:54:44 UTC, Pavel Shkadzko wrote:
>> [...]
>
> The GC keeps a list of roots - that is, objects that are known 
> to be active and should not be collected. The static freelist 
> is one of those - since it's static it should of course never 
> be collected.
>
> [...]

Thank you for such a detailed answer!


More information about the Digitalmars-d-learn mailing list