Control of software object lifetime
Abstract
A software object's lifetime may be controlled to allow it to complete certain tasks asynchronously after all references to the object have been released. The object may be created in a first state and transitioned to a second state under certain circumstances. For example, if it is known that the object needs to complete certain tasks asynchronously after all references to the object have been released, the object may be transitioned to the second state. If the object is created in a technology which uses reference counting, the reference count may be artificially incremented upon state transition. After the object transitions from the first state to the second state, and all references to the object have been released, the object is so notified and if appropriate, the object can undertake certain tasks appropriate under those circumstances.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 3 · Forward citations: 22.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method of controlling the lifetime of an object comprising: when all client references to the object are released, eliminating the object if the object is in a first state; when all client references are released, preserving the object if the object is in a second state and notifying the object that all references to the object have been released.
- Claim 2Depends on #1
The method of claim 1 including implementing certain tasks after the object has been notified that all references have been released.
- Claim 3Depends on #2
The method of claim 2 including automatically transitioning the object from the second to the first state when all references to the object have been released and certain tasks have been completed.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 22 total)
References Cited — Backward Prior Art (3)
Non-Patent Literature (5)
- (Chappell) Chappell, David. "Understanding ActiveX and OLE", p. 51-52, Sep. 1996.*
- (Kwan) Kwan, Doug. "Practical distributed garbage collection for networks with asynchronous clocks and message delay." pp. 406-411, Jun. 1994.*
- (Vanderburg) Vanderburg, Glenn. "Tricks of the Java Programming Gurus", Jul. 1996.*
- Internet. "Reference counts", "Counting xPops". www.cs.arizona.edu/xkernel/manual/subsection3_12_2.html, Feb. 21, 1996.*
- Microsoft Corporation, The COM Specification. Chapter 3. Objects and Interfaces, (1995), pp. 1-23.