GPU assisted garbage collection
Abstract
A system and method for efficient garbage collection. A general-purpose central processing unit (CPU) sends a garbage collection request and a first log to a special processing unit (SPU). The first log includes an address and a data size of each allocated data object stored in a heap in memory corresponding to the CPU. The SPU has a single instruction multiple data (SIMD) parallel architecture and may be a graphics processing unit (GPU). The SPU efficiently performs operations of a garbage collection algorithm due to its architecture on a local representation of the data objects stored in the memory. The SPU records a list of changes it performs to remove dead data objects and compact live data objects. This list is subsequently sent to the CPU, which performs the included operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A microprocessor comprising: a general purpose central processing unit (CPU); a special processing unit (SPU); and a memory; wherein the CPU is configured to send a garbage collection request to free space in the memory and a first log to the SPU, in response to determining a garbage collection initiate condition is satisfied; wherein in response to receiving the garbage collection request, the SPU is configured to: create a representation of the memory in a local memory within the SPU; perform a first set of operations corresponding to a garbage collection algorithm on data objects within the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- "Garbage Collection"; Sep. 27, 2004; 7 pages; printed off website www.memorymanagement.org.
- Abuaiadh, et al; "An Efficient Parallel Heap Compaction Algorithm"; OOPSLA'04; Oct. 24-28, 2004; pp. 224-236; Vancouver, British Columbia, Canada.
- Agesen, et al; "An Efficient Meta-Lock for Implementing Ubiquitous Synchronization"; Sun Microsystems; Apr. 1999; pp. 1-27; SMLI TR- 99-76; Palo Alto, CA; USA.
- Agesen, et al; "Mixed-mode Bytecode Execution"; Sun Microsystems; Jun. 2000; pp. 1-20; SMLI TR-2000-87; Palo Alto, CA; USA.
- Agesen; "GC Points in a Threaded Environment"; Sun Microsystems; Dec. 1998; pp. 1-20; SMLI TR-98-70; Palo Alto, CA; USA.