Automatic reference counting
Abstract
In a method for enabling automatic reference counting, a segment of source code is replaced with an automatic reference counting implementation such that the source code executes an object destructor on demand irrespective of whether there are live references to an object, where a reference associates the object with a portion of memory, and where the object destructor marks the object as disposed without freeing the portion of memory associated with the object and without impacting validity of the reference to the object. The source code is executed with the automatic reference counting implementation, where the automatic reference counting collects a reference and removes the reference from being a live reference, and where marking of the object as disposed by the object destructor is executed on demand based on the source code irrespective of whether there are live references to the object and without impacting validity of the reference to the object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 30 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for enabling automatic reference counting, said method comprising: replacing a segment of source code having a particular pattern at a particular location with an automatic reference counting implementation such that said source code executes an object destructor on demand irrespective of whether there are live references to an object, wherein a reference associates said object with a portion of memory, and wherein said object destructor marks said object as disposed without freeing said portion of memory associated with said object and without impacting validity of said reference to
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 |
|---|---|---|---|
| US 11,157,251 B2 | Automatic reference counting | 2021 | 0 |