首页>
外国专利>
SYSTEM AND METHOD FOR UPDATING REFERENCES WHEN INCREMENTALLY COMPACTING A HEAP
SYSTEM AND METHOD FOR UPDATING REFERENCES WHEN INCREMENTALLY COMPACTING A HEAP
展开▼
机译:用于在完全竞争堆中更新参考的系统和方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
A method, system, and computer-usable medium for updating references while incrementally compacting a heap. A compaction manager initializes each entry in a compaction data structure with a terminating value, where each entry within the compaction data structure corresponds to an address within a first compaction region. The compaction manager locates a first entry within the compaction data structure corresponding to the address of the first object. The compaction manager stores an address of the second object in the first entry and stores in the second object the value stored in the first entry. The compaction manager calculates a new address for the first object, traverses a chain of references starting with the first entry and updates the chain with the new address until encountering the terminating value, and moves the first object to the new address.
展开▼