Finalizable object usage in software transactions
Abstract
Various technologies and techniques are disclosed for providing a software transactional memory system that supports allocation and use of finalizable objects inside transactions. By supporting such finalizable object usage inside a software transactional memory system, correct behavior is maintained when a garbage collector must determine when a particular one or more of the objects are eligible for finalization. A to-be-finalized set is provided for a transaction. An object is placed into the to-be-finalized set for the transaction whenever a finalizable object is allocated within the transaction. A finalize indicator is set for each object in the to-be-finalized set at an appropriate time to indicate that the objects are eligible for finalization. For example, if the transaction is ready to commit and the transaction is an open transaction, then the to-be-finalized set is traversed and a finalize indicator is set for each object to indicate they are eligible for finalization.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 26 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for using finalizable objects in transactions in a software transactional memory system operating on a computing device, comprising the steps of: providing a software transactional memory system in a managed code environment comprising a garbage collector that reclaims memory used by a transaction, the software transactional memory system controls access to shared memory in a concurrent computing system; providing a to-be-finalized set for the transaction in the software transactional memory system that supports allocation of finalizable objects inside the transaction to indicate to t
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (26)
Non-Patent Literature (3)
- Marathe et al., "Adaptive Software Transactional Memory", Date: May 2005, http://ftp.cs.rochester.edu/u/scott/papers/2005-TR868-ASTM.pdf.
- Marathe et al., "Lowering the Overhead of Nonblocking Software Transactional Memory", Date: Mar. 2006, https://urresearch.rochester.edu/retrieve/5928/tr893.pdf.
- Moss et al., "Nested Transactional Memory: Model and Preliminary Architecture Sketches", Date: Oct. 2005, https://urresearch.rochester.edu/retrieve/4806/moss-hosking.pdf.