Method for using non-temporal streaming to improve garbage collection algorithm
Abstract
An improved moving garbage collection algorithm is described. The algorithm allows efficient use of non-temporal stores to reduce the required time for garbage collection. Non-temporal stores (or copies) are a CPU feature that allows the copy of data objects within main memory with no interference or pollution of the cache memory. The live objects copied to new memory locations will not be accessed again in the near future and therefore need not be copied to cache. This avoids copy operations and avoids taxing the CPU with cache determinations. In a preferred embodiment, the algorithm of the present invention exploits the fact that live data objects will be stored to consecutive new memory locations in order to perform streaming copies. Since each copy procedure has an associated CPU overhead, the process of streaming the copies reduces the degradation of system performance and thus reduces the time for garbage collection.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 19.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: accessing a reference array, the reference array referencing at least one data object, each of the at least one data object having a contents stored in a corresponding memory location; determining a new memory location for the contents of each of the at least one data object; and copying the contents of the at least one data object directly to the new memory location thus creating a new data object for each of the at least one data object, each new data object having a new data object contents, the contents of the at least one data object copied using a non-temporal stream
- Claim 2Depends on #1
The method of claim 1 wherein the contents of consecutively referenced data objects a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 19 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (2)
- PCT International Search Report, PCT/US 02/17960, mailed Jan. 7, 2003, 7 pages.
- Schmidt, William J. and Nilsen, Kelvin D., "Performance of a Hardware-Assisted Real-Time Garbage Collector" ACM Sigplan Notices, Association of Computing Machinery, vol. 29, No. 11, Nov. 1, 1994, pp. 76-85.