Patents
US 6,654,773 B2#1322121 Most CitedExpiredUnited States (USPTO)Utility

Method of deterministic garbage collection

41Forward Citations (#1322121 Global)
1.8/yrCitation Velocity (#2575164 Global)
8.96Citation PageRank (#1272919 Global)
15Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A garbage collection method that distinguishes between local objects and managed objects, and between an ordinary pointer to an object, an owning pointer to an object, and a non-owning pointer to an object is presented. Ordinary pointers point only to local objects, and owning and non-owning pointers point only to managed objects. Managed objects have attributes including a count of the number of owning pointers referring to them, and a linked list of non-owning pointers referring to them. Managed objects only possess non-owning pointers. Only an invocation of a subroutine within a thread can possess an owning pointer. Using this method, when an invocation exits, its exit code gives up ownership of all objects it owned. When an object is no longer reachable from any owning pointer, either directly, or indirectly through non-owning pointers, the object is immediately de-allocated. By implementing data structures and methods to support owning pointers, non-owning pointers, and managed objects, and by enforcing rules regarding the use of ordinary pointers, owning pointers, and non-owning pointers, efficient and deterministic garbage collection is achieved, memory leaks and dangling po

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 41.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A garbage collection method comprising: providing ordinary pointers to point only to local objects, said local objects are objects that must expire before invocations that create them; providing owning and non-owning pointers to point only to managed objects, said managed objects are objects that may outlive invocations that create them; determining whether said managed objects are reachable from at least one of said owning pointers; destroying or marking for destruction at least one of said managed objects when said at least one of said managed objects is un-reachable through said at least on

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (15)

Non-Patent Literature (2)

  • "D Programming Language"-Digital Mars, 1999-2002.
  • Horstmann, Cay S. "Memory management and smart pointers." In C++ Report, 5,3 (Mar./Apr. 1993), 28-34. New York: 101 Communications, 1993.