Efficient memory management in software caches
Abstract
The use of heap memory is optimized by extending a cache implementation with a CacheInterface base class. An instance of a ReferenceToCache is attached to the CacheInterface base class. The cache implementation is registered to a garbage collector application. The registration is stored as a reference list in a memory. In response to an unsatisfied cache allocation request, a garbage collection cycle is triggered to check heap occupancy. In response to exceeding a threshold value, the reference list is traversed for caches to be cleaned based upon a defined space constraint value. The caches are cleaned in accordance with the defined space constraint value.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for optimizing use of heap memory, comprising: with a processor, extending a cache implementation with a base class; with said processor, attaching an instance of a utility class to said base class; registering said cache implementation to a garbage collector routine with said processor; storing said registration as a reference list in a memory; responsive to an unsatisfied cache allocation request, triggering a garbage collection cycle to check heap occupancy; responsive to exceeding a first threshold value, traversing said reference list to identify caches for cleanup based upon a d
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (9)
Non-Patent Literature (1)
- K.D. Nilsen et al. "A High-Performance Hardware-Assisted Real-Time Garbage Collection System" (Abstract) Journal of Programming Languages, vol. 2, No. 1, pp. 1-40, Dec. 1994.