发明名称 Method for using cache prefetch feature to improve garbage collection algorithm
摘要 A method for creating a mark stack for use in a moving garbage collection algorithm is described. The algorithm of the present invention creates a mark stack to implement a MGCA. The algorithm allows efficient use of cache memory prefetch features to reduce the required time to complete the mark stack and thus reduce the time required for garbage collection. Instructions are issued to prefetch data objects that will be examined in the future, so that by the time the scan pointer reaches the data object, the cache lines for the data object are already filled. At some point after the data object is prefetched, the address location of associated data objects is likewise prefetched. Finally, the associated data objects located at the previously fetched addresses are prefetched. This reduces garbage collection by continually supplying the garbage collector with a stream of preemptively prefetched data objects that require scanning.
申请公布号 US6662274(B2) 申请公布日期 2003.12.09
申请号 US20010886068 申请日期 2001.06.20
申请人 INTEL CORPORATION 发明人 SUBRAMONEY SREENIVAS;HUDSON RICHARD L.
分类号 G06F12/02;G06F12/08;(IPC1-7):G06F12/02 主分类号 G06F12/02
代理机构 代理人
主权项
地址