发明名称 Multi-threaded garbage collector employing cascaded memory arrays of task identifiers to implement work stealing queues for task identification and processing
摘要 A computer system employing a plurality of concurrent threads to perform tasks that dynamically identify further similar tasks employs a double-ended queue ("deque") to list the dynamically identified tasks. If a thread's deque runs out of tasks while other threads' deques have tasks remaining, the thread whose deque has become empty will remove one or more entries from another thread's deque and perform the tasks thereby identified. When a thread's deque becomes too full, it may allocate space for another deque, transfer entries from its existing deque, place an identifier of the existing deque into the new deque, and adopt the new deque as the one that it uses for storing and retrieving task identifiers. Alternatively, it may transfer some of the existing deque's entries into a newly allocated array and place an identifier of that array into the existing deque. The thread thereby deals with deque overflows without introducing additional synchronization requirements or restricting the deque's range of use.
申请公布号 US7016923(B2) 申请公布日期 2006.03.21
申请号 US20020287851 申请日期 2002.11.05
申请人 SUN MICROSYSTEMS, INC. 发明人 GARTHWAITE ALEXANDER T.;FLOOD CHRISTINE H.;DICE DAVID
分类号 G06F12/00;G06F12/02;G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址