|
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.