Patents
US 7,149,866 B2#10575384 Most CitedExpiredUnited States (USPTO)Utility

Free item distribution among multiple free lists during garbage collection for more efficient object allocation

10Forward Citations (#10575384 Global)
0.5/yrCitation Velocity (#15376136 Global)
1.95Citation PageRank (#15132816 Global)
21Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (21)

PatentTitleYearCitations
US 6,070,173 AMethod and apparatus for assisting garbage collection process within a java virtual machine200085
GB 2,345,159 ALocal and global objects in a multi-threaded processing environment.—6
GB 2,345,160 AVirtual machine memory management—4
US 6,148,310 AMethod for combining card marking with remembered sets for old area of a memory heap200096
US 6,173,294 B1Method for combining card marking with remembered set for generational garbage collection with more than two generations200191
US 6,226,653 B1Method and apparatus for performing generational garbage collection using remembered set counter2001123
US 6,289,360 B1Method and system for eliminating synchronization between sweep and allocate in a concurrent garbage collector200194
US 6,317,756 B1On-the-fly garbage collector200168
US 2002055941 A1Computer system with two heaps in contiguous storage—53
US 6,393,440 B1Data structure for keeping track of objects remaining to be traced by concurrent garbage collector200233
US 6,434,575 B1Method of instrumenting garbage collection generating a trace file making a single pass analysis of object heap200254
US 6,457,023 B1Estimation of object lifetime using static analysis200256
US 6,470,361 B1Method and apparatus for performing generational garbage collection using middle-aged objects200248
US 6,490,599 B2On-the-fly garbage collector200272
US 2003009547 A1Method and system for restricting and enhancing topology displays for multi-customer logical networks within a network management system—79
US 6,510,440 B1Method and apparatus for performing generational garbage collection using barrier bits200349
US 2003220952 A1Method and system for the garbage collection of shared data—19
US 2005273567 A1Assigning sections within a memory heap for efficient garbage collection of large objects—35
US 2005278487 A1Efficient parallel bitwise sweep during garbage collection—24
US 7,010,555 B2System and method for compacting a computer system heap200641

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.