发明名称 |
STORED DATA OBJECT MARKING FOR GARBAGE COLLECTORS |
摘要 |
<p>A data processing method and apparatus are described for mark-sweep garbage collection through stored data structures defined by data objects in a multi threading environment supporting the handling of finalizers. The sweeping stage consists of a linear sweep across the heap in which any objects with a mark-state of Deletable are deleted, while objects with finalizers and mark-state of pending are placed on a finalizers queue and marked. The number of objects with finalizers is tracked and compared with the known total allocated to the heap. If not all finalizable objects are found, a further marking operation is required to identify all objects reachable by finalizers. However, if all finalizable objects are found by the first marking operation, as indicated by a match between the found and stored totals, the marked unreachable objects may all be deleted in a single pass.</p> |
申请公布号 |
EP1036355(B1) |
申请公布日期 |
2005.02.09 |
申请号 |
EP19990923792 |
申请日期 |
1999.06.10 |
申请人 |
KONINKLIJKE PHILIPS ELECTRONICS N.V. |
发明人 |
HOULDSWORTH, RICHARD, J.;MORRIS, STEVEN |
分类号 |
G06F12/00;G06F12/02;(IPC1-7):G06F1/00 |
主分类号 |
G06F12/00 |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|