-
公开(公告)号:US20100030968A1
公开(公告)日:2010-02-04
申请号:US12184165
申请日:2008-07-31
申请人: Eberhard Pasch , Hans-Werner Tast , Achim Haessler , Markus Nosse , Elmar Zipp
发明人: Eberhard Pasch , Hans-Werner Tast , Achim Haessler , Markus Nosse , Elmar Zipp
IPC分类号: G06F12/08
CPC分类号: G06F12/0261 , G06F12/0802
摘要: A computer implemented method of cache bounded reference counting for computer languages having automated memory management in which, for example, a reference to an object “Z” initially stored in an object “O” is fetched and the cache hardware is queried whether the reference to the object “Z” is a valid reference, is in the cache, and has a continuity flag set to “on”. If so, the object “O” is locked for an update, a reference counter is decremented for the object “Z” if the object “Z” resides in the cache, and a return code is set to zero to indicate that the object “Z” is de-referenced and that its storage memory can be released and re-used if the reference counter for the object “Z” reaches zero. Thereafter, the cache hardware is similarly queried regarding an object “N” that will become a new reference of object “O”.
摘要翻译: 具有自动存储器管理的计算机语言的高速缓存有界引用计数的计算机实现方法,其中例如对最初存储在对象“O”中的对象“Z”的引用被查询,并且查询高速缓存硬件是否被引用 对象“Z”是有效的引用,位于缓存中,并具有设置为“开”的连续性标志。 如果是这样,对象“O”被锁定以进行更新,如果对象“Z”驻留在高速缓存中,对象“Z”的引用计数器递减,并且将返回码设置为零以指示对象“ Z“被取消引用,并且如果对象”Z“的引用计数器达到零,则可以将其存储器释放并重新使用。 此后,对于将成为对象“O”的新引用的对象“N”,类似地查询高速缓存硬件。
-
公开(公告)号:US08082399B2
公开(公告)日:2011-12-20
申请号:US12184165
申请日:2008-07-31
申请人: Eberhard Pasch , Hans-Werner Tast , Achim Haessler , Markus Nosse , Elmar Zipp
发明人: Eberhard Pasch , Hans-Werner Tast , Achim Haessler , Markus Nosse , Elmar Zipp
IPC分类号: G06F13/376
CPC分类号: G06F12/0261 , G06F12/0802
摘要: Cache bounded reference counting for computer languages having automated memory management in which, for example, a reference to an object “Z” initially stored in an object “O” is fetched and the cache hardware is queried whether the reference to the object “Z” is a valid reference, is in a cache, and has a continuity flag set to “on”. If the object “Z” is a valid reference, is in the cache, and has a continuity flag set to “on”, the object “O” is locked for an update, a reference counter is decremented for the object “Z” if the object “Z” resides in the cache, and a return code is set to zero to indicate that the object “Z” is de-referenced and that its storage memory can be released and re-used if the reference counter for the object “Z” reaches zero. Thereafter, the cache hardware is similarly queried regarding an object “N” that will become a new reference of object “O”.
摘要翻译: 具有自动存储器管理的计算机语言的缓存有界引用计数,其中例如对最初存储在对象“O”中的对象“Z”的引用被取出,并且查询高速缓存硬件是否对对象“Z”的引用 是一个有效的参考,位于缓存中,并具有设置为“开”的连续性标志。 如果对象“Z”是有效的引用,则在缓存中,并且连续性标志设置为“on”,则对象“O”被锁定以进行更新,对于对象“Z”,引用计数器递减if 对象“Z”驻留在高速缓存中,并且返回码被设置为零以指示对象“Z”被去引用,并且如果对象的引用计数器“可以释放和重新使用其存储存储器” Z“达到零。 此后,对于将成为对象“O”的新引用的对象“N”,类似地查询高速缓存硬件。
-