A generational collector allocates in a small nursery and collects it alone in a minor collection, which moves its survivors into an old generation (promotion); a major collection collects the whole heap. The remembered set holds the old objects that may refer to nursery objects; a minor collection treats them as roots. A write barrier is code run at every store of a reference into an object; here, it adds the object to the remembered set when an old object receives a reference to a young one.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Generational collection, write barrier, remembered set?
又称: generational collection · remembered set · write barrier