Handling persistent/long-lived objects to reduce garbage collection pause times
Abstract
A method, system and computer program product for reducing garbage collection pause time. According to example embodiments, a garbage collection cycle is initiated on a set of objects that have been dynamically allocated in a memory. An identification is made of new persistent objects and reachable non-persistent objects while ignoring old persistent objects that have been identified as persistent in previous garbage collection cycles. The new persistent objects are associated as members of a set of persistent objects that includes the old persistent objects. The persistence information for the set of persistent objects is preserved for use during subsequent garbage collection cycles. All reachable non-persistent objects and all persistent objects in the set of persistent objects are marked for memory reclamation phase processing. The persistent objects are so marked using the preserved persistence information such that repeated scanning of persistent objects during multiple garbage collection cycles is avoided.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 14.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A machine-implemented method, comprising: initiating a garbage collection cycle on a set of objects that have been dynamically allocated in a memory; as part of said garbage collection cycle, identifying new persistent objects and reachable non-persistent objects while ignoring old persistent objects that have been identified as persistent in previous garbage collection cycles; as part of said garbage collection cycle, associating said new persistent objects as members of a set of persistent objects that includes said old persistent objects, and preserving persistence information for said set
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (14 of 14 total)
References Cited — Backward Prior Art (14)
Non-Patent Literature (4)
- B. Biron et al., "Real-time Java, Part 4: Real-time garbage collection", May 2, 2007, 15 pages.
- IBM, "GC For Large Heaps", Feb. 28, 2006, 2 pages.
- IBM, IBM Developer Kit and Runtime Environment, Java 2 Technology Editiion, Version 1.4.2, Diagnostics Guide for z/OS64 and AMD64 platforms, Mar. 1, 2009, 7 pages.
- T. Printezis, "Garbage Collection in the Java HotSpot Virtual Machine", Sep. 17, 2004, 7 pages.