lua-users home
lua-l archive

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


On Tue, 01 Jun 2010 15:45:29 +0300, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:

Also, would it make sense to adjust generational collection
so that short gc leaves uncollected objects white,
while full gc creates old objects?

With that change, objects would become old only in major collections.
I am afraid it would make the nursery too big.

What about the average lifetime of objects?
Are there cases where temporary white object
turns gray because of a write barrier
(even if the reference is quickly lost), and so
always survives the first collection?

Sorry for the question, but I don't really follow the
barrier code in the generational case.