Concurrent, lock-free object copying
Abstract
Described is a technology by which a real-time data relocating mechanism is provided for multiprocessing environments, including supporting lock-free programs that run in parallel. The relocating mechanism moves an object by using a status field related to the data field, possibly in an interim (wide) object space, which is then copied to a to-space object. The status information for each data field of the original object contains information indicating where a current version of the data for each field is present, that is, in the original, wide or to-space object. In one example, a handshake mechanism of a garbage collector establishes preparation and copy phases between the mechanism and other threads that determine where memory accesses occur. Also described is support for program thread compare-and-swap (CAS) operations and/or multi-word atomic operations.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 21.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-readable storage medium having computer-executable instructions, which when executed perform steps, comprising: in a thread, reading data of an object field, including, determining whether a state of an object is expanded, and if expanded: a) obtaining a status from a status indicator corresponding to an original data field of the object, and reading data from the original object field of the object if the status indicator indicates a current version of the data is in the original object field, reading data from a wide object field if the status indicator indicates a current version
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 21 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- "Parallel garbage collection without synchronization overhead"-Ram et al. ACM SIGARCH computer Architecture News vol. 13, issue 3 (Jun. 1985), proceddings of the 12th annual international symposium on computer architecture (ISCA'85), (pp. 84-90).
- "Practical Lock-freedom"-Kair Fraser-University of Cambridge, Feb. 2004, from Citeseer (pp. 1-120).
- “Parallel garbage collection without synchronization overhead”—Ram et al. ACM SIGARCH computer Architecture News vol. 13, issue 3 (Jun. 1985), proceddings of the 12th annual international symposium on computer architecture (ISCA'85), (pp. 84-90).
- “Practical Lock-freedom”—Kair Fraser—University of Cambridge, Feb. 2004, from Citeseer (pp. 1-120).
- Michael, Maged M.,"Safe Memory Reclamation for Dynamic Lock-Free Objects Using Atomic Reads and Writes", Date:Jul. 21-24, 2002, pp. 1-10, IBM Thomas J. Watson Research Centre P.O. Box 218 Yorktown Heights, NY 10598 USA.