Efficient object faulting with generational garbage collection
    1.
    发明授权
    Efficient object faulting with generational garbage collection 有权
    高效的对象故障与代数垃圾收集

    公开(公告)号:US06493730B1

    公开(公告)日:2002-12-10

    申请号:US09686164

    申请日:2000-10-10

    IPC分类号: G06F1730

    CPC分类号: G06F9/4493 Y10S707/99957

    摘要: One embodiment of the present invention provides a system for allocating storage space for objects within a persistent object system. The persistent object system includes an object heap that is organized into a young generation region and an old generation region. The system uses the young generation region for newly created objects and uses the old generation region for objects that have not been removed by several garbage collection cycles. The system allocates storage space for new (transient) objects in the young generation region of the object heap. Periodically, the system copies the transient objects from the object heap to a stable store to form a checkpoint of the system state. Transient objects become persistent objects when they are copied to the stable store. Persistent objects are removed from the object heap when the system is stopped and when room is needed in the object heap for additional objects. When a persistent object that has been removed is referenced during execution of a computer program, the system faults the persistent object directly into the old generation region of the object heap from the stable store.

    摘要翻译: 本发明的一个实施例提供了一种用于为持久对象系统内的对象分配存储空间的系统。 持久对象系统包括组织到年轻一代区域和旧一代区域中的对象堆。 系统对新创建的对象使用年轻一代区域,并将旧生成区域用于几个垃圾收集周期尚未被删除的对象。 系统为对象堆的年轻一代区域中的新(瞬态)对象分配存储空间。 定期地,系统将瞬态对象从对象堆复制到稳定的存储以形成系统状态的检查点。 瞬态对象在复制到稳定存储时变为持久对象。 当系统停止时,持久性对象从对象堆中移除,并且在对象堆中需要空间以用于其他对象。 当在执行计算机程序期间引用已被删除的持久性对象时,系统将永久性对象直接从稳定存储区中将对象堆的旧生成区域进行故障。