Free item distribution among multiple free lists during garbage collection for more efficient object allocation
Abstract
A method, system, and program for improving free item distribution among multiple free lists during garbage collection for more efficient object allocation are provided. A garbage collector predicts future allocation requirements and then distributes free items to multiple subpool free lists and a TLH free list during the sweep phase according to the future allocation requirements. The sizes of subpools and number of free items in subpools are predicted as the most likely to match future allocation requests. In particular, once a subpool free list is filled with the number of free items needed according to the future allocation requirements, any additional free items designated for the subpool free list can be divided into multiple TLH sized free items and placed on the TLH free list. Allocation threads are enabled to acquire free items from the TLH free list and to replenish a current TLH without acquiring heap lock.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 10.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for dynamically distributing free items for efficient allocation, comprising: responsive to detecting an end of a cycle, accumulating a recent allocation history of allocations of a plurality of free items from a plurality of different sized free lists maintained by a heap manager; predicting future allocation requirements for said heap manager from said recent allocation history and a prior allocation history; and dynamically adjusting at least one from among a number of said plurality of different sized free lists, a size minimum for each of said plurality of different sized free li
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (21)
Non-Patent Literature (2)
- Dimpsey et al, "Java Server Performance: A case study of building efficient, scalable JVMs", IBM Systems Journal, vol. 39, No. 1, 2000, pp. 151-174.
- Wilson, Paul R., "Uniprocessor Garbage Collection Techniques", pp. 1-66, 1994.