Adaptive triggering of garbage collection
Abstract
Methods and apparatus are provided for adaptively triggering garbage collection. During relatively steady or decreasing rates of allocation of free memory, a threshold for triggering garbage collection is dynamically and adaptively determined on the basis of memory drops (i.e., decreases in free memory) during garbage collection. If a significant increase in the rate of allocation of memory is observed (e.g., two consecutive measurements that exceed a mean rate plus two standard deviations), the threshold is modified based on a memory drop previously observed in conjunction with the current memory allocation rate, or a memory drop estimated to be possible for the current allocation rate.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of adaptively triggering garbage collection within a computer system, the method comprising: initializing a data structure to comprise N empty buckets (N>0), wherein each bucket represents an amount of free memory; periodically recording a rate of allocation of free memory; for each of multiple iterations of garbage collection: calculating a mean rate of allocation of free memory prior to the iteration; observing a drop in the free memory during the iteration; reading the data structure to examine a bucket corresponding to the observed memory drop; if the bucket is empty, storing i
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗