Protecting shared variables in a software transactional memory system
Abstract
For a variable accessed at least once in a software-based transactional memory system (STM) defined (STM-defined) critical region of a program, modifying an access to the variable that occurs outside any STM-defined critical region system by starting a hardware based transactional memory based transaction, within the hardware based transactional memory based transaction, checking if the variable is currently owned by a STM transaction, checking if the variable is currently owned by a STM transaction; if the variable is not currently owned by a STM transaction, performing the access and then committing the hardware based transactional memory transaction; and if the variable is currently owned by a STM transaction, performing a responsive action.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 17.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method comprising: for a variable, stored in storage device, accessed at least once in a software-based transactional memory system (STM) defined (STM-defined) critical region of a program, modifying an access to the variable that occurs outside any STM-defined critical region system by starting a hardware based transactional memory based transaction; within the hardware based transactional memory based transaction, checking if the variable is currently owned by a STM transaction; if the variable is not currently owned by a STM transaction, performing the access and then committing the hardw
- Claim 2Depends on #1
The method of claim 1 wherein the responsive action comprises at least one of: raising an exception indicating an error if t
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 17 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Harris et al., "Language Support for Lightweight Transactions"., University of Cambridge Computer Laboratory; 15 pages.
- Harris, Oct. 2003, ACM, pp. 388-402.
- Lev Y et al.: "Towards a Safer Interaction with Transactional Memory by Tracking Object Visibility", Proceedings of Synchronization and Concurrency in Object-Oriented Languages (SCOOL), OOPSLA 2005 Workshop, [Online]Oct. 7, 2005, pp. 31-38, XP002432120.
- Moir M: "Hybird Hardware/Software Transactional Memory" Internet Citation, [Online] Apr. 8, 2005, XP002407376 Retrieved from the Internet: URL:http://www.cs.wisc.edu/{rajwar/tm-workshop/Talks/moir.pdf> [retrieved on Nov. 14, 2006].
- Moir M: "Hybird Transactional Memory" Announcement Sun Microsystems, XX, XX, Jul. 2005, pp. 1-15, XP002407375.