发明名称 Method and apparatus for enabling threads to reach a consistent state without explicit thread suspension
摘要 Methods and apparatus for enabling inconsistent or unsafe threads to efficiently reach a consistent or safe state when a requesting thread requests a consistent state are disclosed. According to one aspect of the present invention, a method for requesting a consistent state in a multi-threaded computing environment using a first thread includes acquiring a consistent state lock using the first thread, and identifying substantially all threads in the environment that are inconsistent. The state of the inconsistent threads is altered to a consistent state, and the first thread is notified when the states of the previously inconsistent threads have been altered to be consistent. Once the first thread is notified, the first thread releases the consistent state lock. In one embodiment, the method also includes performing a garbage collection after releasing the consistent state lock using the first thread.
申请公布号 US2001054057(A1) 申请公布日期 2001.12.20
申请号 US20010836931 申请日期 2001.04.17
申请人 SUN MICROSYSTEMS, INC. 发明人 LONG DEAN R.E.;FRESKO NEDIM
分类号 G06F12/00;G06F9/46;(IPC1-7):G06F13/00;G06F17/30 主分类号 G06F12/00
代理机构 代理人
主权项
地址