Managing object lifetime in a cyclic graph
Abstract
The present invention extends to methods, systems, and computer program products for managing object lifetime in a cyclic graph. Embodiments of the invention include reclaiming allocated system resources, for example, from a graph of objects that mixes different resource reclamation techniques (such as reference counting and garbage collection). In response to determining that garbage collection is to be performed, references between GC objects and Ref. Counted objects are detected. A reference type (e.g., direct, indirect, standard, tracked, weakened, etc.) for any detected references is also determined. Garbage collection is performed to determine if any allocated system resources can be reclaimed. Garbage collection considers references and references types between GC objects and Ref. Counted objects when determining if objects are to be reclaimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 41 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer system configured for synchronizing reference information between a counted object graph and a garbage collected object graph in preparation for an attempt to reclaim system resources, the computer system comprising: one or more processors; system memory; and one or more computer readable media having stored thereon computer-executable instructions that are structured such that, when executed, the computer-executable instructions cause the computer system to perform at least the following: calculate references on objects within a cyclic object graph that is stored in the system memo
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| CN 108,804,337 A | The method, apparatus and computer storage media of memory garbage reclamation | — | 8 |
References Cited — Backward Prior Art (41)
Non-Patent Literature (5)
- Campos, Alvaro E., et al., “Garbage Collection in Distributed EZ”, Proceedings of the XIII International Conference of the Chilean Computer Science Society, La Serena, Chile, Oct. 1998, pp. 251-259.
- First Office Action and Search Report Issued in Chinese Patent Application No. 201210354921.9, Mailed Date: Feb. 27, 2015, 15 Pages.
- Garner, Robin, et al., “Effective Prefetch for Mark-Sweep Garbage Collection”, ISMM'07, Oct. 21-22, 2007, Montreal, Quebec, Canada, 12 pages.
- Goetz, Brian, “Java theory and practice: Garbage collection in the HotSpot JVM”, Nov. 25, 2003, 6 pages.
- International Preliminary Report on Patentability Issued in PCT Application No. PCT/US2012/054042, Mailed Date: Mar. 26, 2014, 5 Pages.