发明名称 AUTOMATED MEMORY MANAGEMENT OF INDEXED DATA USING WEAK REFERENCES
摘要 Memory may be managed by a garbage collector. The memory may contain a data structure and an index. The data structure may include a plurality of objects. The index may index a plurality of the objects in the data structure. For each object which it indexes, the index may contain a key field and a weak reference to the object. The key field may be indicative of an attribute of the object. The weak reference to the object may be associated with the key field. The weak reference may have a configuration which is not followed by a pointer tracer of the garbage collector when the garbage collector seeks to determine which of the objects in the data structure are no longer reachable from outside of the data structure during a memory reclamation process. This may insure that the index does not prevent the memory occupied by any unreachable object in the data structure from being reclaimed by the garbage collector during the memory reclamation process, even though the object is still referenced by the index. References in a reference reclamation queue generated by the garbage collector may be used to identify and remove entries in the index to objects whose memory has been reclaimed by the garbage collector.
申请公布号 US2012066270(A1) 申请公布日期 2012.03.15
申请号 US20100880914 申请日期 2010.09.13
申请人 KRAVETS ALEXANDER;ALELO, INC. 发明人 KRAVETS ALEXANDER
分类号 G06F7/00 主分类号 G06F7/00
代理机构 代理人
主权项
地址