发明名称 System and method for memory reclamation
摘要 A method for memory reclamation is disclosed that includes marking a memory object when an attempt to alter a reference to the memory object is detected by a software write barrier. Marking be by using representations ("black," "white", "gray") stored as part of a garbage collection information data structure associated with each memory object. Initially, all allocated memory objects are marked white. Objects are then processed such that objects referenced by pointers are marked gray. Each object marked gray is then processed to determine objects referenced by pointers in it, and such objects are marked gray. When all objects referenced by pointers in the selected gray objected have been processed, the selected gray object is marked black. When all processing has been completed, objects still marked white may be reclaimed. Also described is a garbage collector which runs as a task concurrently with other tasks. A priority of the garbage collector may be increased to prevent interruption during certain parts of the garbage collection procedure.
申请公布号 US6874074(B1) 申请公布日期 2005.03.29
申请号 US20000711589 申请日期 2000.11.13
申请人 WIND RIVER SYSTEMS, INC. 发明人 BURTON FELIX;DUTTA SANDEEP
分类号 G06F12/02;G06F12/16;(IPC1-7):G06F12/16 主分类号 G06F12/02
代理机构 代理人
主权项
地址