Lock-free object recycling
Abstract
Methods, program products, and systems for lock-free object recycling are described. In some implementations, a system can provide a type-neutral wrapper for a first data object. Upon receiving an indicator that the first data object is no longer used, the system can store the first data object and the type-neutral wrapper in a lock-free data structure. Upon receiving a request to create a second data object, the system can fetch the type-neutral wrapper and the first data object from the lock-free data structure without using a lock. The system can then return the first data object as a response to the request.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 3.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: providing a type-neutral wrapper for a first data object; upon receiving an indicator that the first data object is no longer used, storing the first data object and the type-neutral wrapper in a lock-free data structure; and upon receiving a request to create a second data object: fetching the type-neutral wrapper and the first data object from the lock-free data structure without using a lock; and returning the type-neutral wrapper and the first data object as a response to the request.
- Claim 2Depends on #1
The method of claim 1 , wherein the type-neutral wrapper includes a data structure for linkage, the data structure being operating system-specific or hardware-specific.
- Claim 3Depends on #2
The method of claim 2 , wherein the data structure for linkage includes an overloaded operator.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗