Patents
US 6,662,274 B2#3227143 Most CitedExpiredUnited States (USPTO)Utility

Method for using cache prefetch feature to improve garbage collection algorithm

24Forward Citations (#3227143 Global)
1.0/yrCitation Velocity (#6133675 Global)
3.83Citation PageRank (#5112600 Global)
6Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

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.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 24.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method comprising: (a) placing references to a root set of data objects, each data object having a contents, into a reference array such that the contents of each data object is stored to memory; (b) examining the contents of a particular data object such that associated data objects are determined; (c) placing a reference to the associated data objects in the reference array; (d) prefetching the contents of a future-referenced data object to cache memory, the data object referenced a specified distance ahead of the particular data object in the reference array; and (e) repeating operations

  2. Claim 2Depends on #1

    The method of claim 1 wherein operation (d) further includes: prefetching address lo

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗