发明名称 AUTOMATIC GARBAGE COLLECTION METHOD
摘要 PURPOSE: To solve a dangling pointer problem and a garbage collection problem by replacing one part of pointers which are strong for the reference of an object with a weak pointer, and destroying the object at time of the count zero of the former pointer. CONSTITUTION: The cycle of a pointer 110 strong for referencing of an object is identified, and in this cycle, at least one of the pointers 110 strong for the object is replaced with a weak and simplified pointer 120 which is turned to zero at the time of the destruction of the object. The strong pointers 110 and 130 and the weak pointer 120 are supported by holding a different reference count related with the object. When the cycle is interrupted by using this weak simplified pointer 120, a garbage collecting process is promoted. Also, the object indicated by the weak pointer 120 can be safely destroyed, as long as the counter of the strong pointer is decremented to zero.
申请公布号 JPH0816457(A) 申请公布日期 1996.01.19
申请号 JP19930076857 申请日期 1993.04.02
申请人 GENERAL ELECTRIC CO <GE>;YOKOGAWA ELECTRIC CORP 发明人 TERII MITSUCHIERU TOPUKA;POORU KIYAMERON BURAUN
分类号 G06F12/00;G06F9/44;G06F12/02;G06F17/30;(IPC1-7):G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址