Prefetching memory objects into a shared cache during garbage collection with a three-finger Cheney scan in a multithreaded processing environment
Abstract
In one embodiment a memory management method uses a third finger fetching pointer thread operating on memory objects distributed in a second memory space between a scan pointer thread and an allocation pointer thread to fetch objects in the second memory space prior to them being scanned. The fetching thread is moved to a next memory slot in the second memory space when the scanned memory slot does not hold a pointer to an object in the first memory space. The memory object is prefetched into a cache shared with an allocation pointer thread when the scanned memory slot holds a pointer to an object in the first space.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 11.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A memory management method comprising: having a fetching pointer operate on memory objects distributed in a second memory space between a scan pointer and an allocation pointer, scanning the memory objects to find slots holding pointers to objects in a first memory space, moving the fetching pointer to a next memory slot in the second memory space when the scanned memory slot does not hold a pointer to an object in the first memory space, and prefetching the memory object in the first memory space into a cache shared with thread supporting the allocation pointer when the scanned memory slot ho
- Claim 2Depends on #1
The memory management method of claim 1 , wherein the fetching pointer is moved to the next memory slot upon scanning a null pointer.
- Claim 3Depends on #1
The memory management method of claim 1 , wherein the fetching poi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (11 of 11 total)
References Cited — Backward Prior Art (7)
Non-Patent Literature (5)
- Amir Roth and Gurindar S. Sohi "Effective jump-pointer prefetching for linked data structures" May 1999, ACM SIGARCH Computer Architecture News , Proceedings of the 26th annual international symposium on Computer architecture, vol. 27 issue 2, p111-121.
- C. J. Cheney, "A nonrecursive list compacting algorithm", Nov. 1970, Communications of the ACM, vol. 13 Issue 11, pp677-678.
- C.J. Cheney. "A non-recursive list compacting algorithm", Communications of the ACM, 13(11):677-8, Nov. 1970.
- Chi-Keung Luk, Todd C. Mowry, "Compiler-based Prefetching for Recursive Data Structures," Proceedings of the seventh international conference on Architectural support for programming languages and operating systems, vol. 30 , 31 Issue 5 , 9, Oct. 1996.
- Hans Boehm "Reducing Garbage Collector Cache Misses", Proceedings of the 2000 International Symposium on Memory Management, 2000.