Mechanism for facilitating dynamic and efficient management of instruction atomicity violations in software programs at computing systems
Abstract
A mechanism is described for facilitating dynamic and efficient management of instruction atomicity violations in software programs according to one embodiment. A method of embodiments, as described herein, includes receiving, at a replay logic from a recording system, a recording of a first software thread running a first macro instruction, and a second software thread running a second macro instruction. The first software thread and the second software thread are executed by a first core and a second core, respectively, of a processor at a computing device. The recording system may record interleavings between the first and second macro instructions. The method includes correctly replaying the recording of the interleavings of the first and second macro instructions precisely as they occurred. The correctly replaying may include replaying a local memory state of the first and second macro instructions and a global memory state of the first and second software threads.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 19 · Forward citations: 3.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
An apparatus comprising: replay logic to receive a recording, from a recording system, of a first software thread running a first macro-instruction, and a second software thread running a second macro-instruction, wherein the first software thread and the second software thread are executed by a first core and a second core, respectively, of a processor at a computing device, wherein the recording system to record interleavings between the first and second macro-instructions, wherein the replay logic is further to correctly replay the recording of the interleavings of the first and second macr
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (3 of 3 total)
References Cited — Backward Prior Art (19)
Non-Patent Literature (5)
- Ahmad Heydari, et al., A Survey in Deterministic Relaying Approaches in Multiprocessors, International Journal of Electrical & Computer Sciences, Aug. 2010, vol. 10, Issue 4, pp. 23-29.
- Atom-Aid: Detecting and Surviving Atomicity Violations-Brandon Lucia, Joseph Devietti, Luis Ceze-Computer Science and Engineering University of Washington-Karin Strauss, Advanced Architecture and Technology Laboratory AMD-2008.
- AVIO: Detecting Atomicity Violations via Access Interleaving Invariants Shan Lu, Joseph Tucek, Feng Qin and Yuanyuan Zhou Department of Computer Science, University of Illinois at Urbana Champaign, Urbana, IL-ASPLOS'06 Oct. 21.25, 2006.
- CoreRacer: A Practical Memory Race Recorder for Multicore x86 TSO Processors-Gilles Pokam, Cristiano Pereira, Shiliang Hu, Ali-Reza Adl-Tabatabai, Justin Gottschlich, Youfeng Wu-Intel Corporation-Jungwoo Ha-Google-MICRO'11, Dec. 3-7, 2011, Porto Alegre, Brazil.
- CTrigger: Exposing Atomicity Violation Bugs from Their Hiding Places-Soyeon Park Shan Lu Yuanyuan Zhou Department of Computer Science, University of Illinois at Urbana Champaign, Urbana, IL-ASPLOS'09 Mar. 7.11, 2009, Washington, DC.