发明名称 Method and apparatus for facilitating mark-sweep garbage collection with reference counting
摘要 One embodiment of the present invention provides a system that facilitates garbage collection (GC) in a memory-management system that supports both mark-sweep (MS) objects and reference-counted (RC) objects, wherein both MS objects and RC objects can be marked and have a reference count. During a marking phase of a GC operation, the system first identifies roots for the GC operation. Next, the system marks referents of the roots. The system then recursively traverses referents of the roots which are MS objects and while doing so, marks referents of the traversed MS objects. During a subsequent sweeping phase of the GC operation, the system reclaims objects that are unmarked and have a zero reference count.
申请公布号 US2007162527(A1) 申请公布日期 2007.07.12
申请号 US20060325381 申请日期 2006.01.03
申请人 WRIGHT GREGORY M;WOLCZKO MARIO I;SEIDL MATTHEW L 发明人 WRIGHT GREGORY M.;WOLCZKO MARIO I.;SEIDL MATTHEW L.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人
主权项
地址