[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: [ANN] Lua 5.4.0 (rc2) now available
- From: Roberto Ierusalimschy <roberto@...>
- Date: Wed, 6 May 2020 14:50:13 -0300
> For the function `youngcollection` :
>
> /* sweep nursery and get a pointer to its last live element */
> psurvival = sweepgen(L, g, &g->allgc, g->survival);
> /* sweep 'survival' and 'old' */
> sweepgen(L, g, psurvival, g->reallyold);
>
> I think the second `sweepgen` is not about sweeping , it's about
> advancing ages of objects. No sweeping happens here.
Why not? White objects in the survival list are collected in this call.
-- Roberto
_______________________________________________
lua-l mailing list -- lua-l@lists.lua.org
To unsubscribe send an email to lua-l-leave@lists.lua.org