lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> 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