Patents
US 9,501,340 B2#34004662 Most CitedActiveUnited States (USPTO)Utility

Mechanism for facilitating dynamic and efficient management of instruction atomicity violations in software programs at computing systems

3Forward Citations (#34004662 Global)
0.3/yrCitation Velocity (#25893104 Global)
0.97Citation PageRank (#43564949 Global)
19Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (19)

PatentTitleYearCitations
US 6,405,326 B1Timing related bug detector method for detecting data races200249
US 2003131283 A1Race detections for parallel software—67
US 2011022893 A1Detecting data race and atomicity violation via typestate-guided static analysis—28
US 8,032,706 B2Method and apparatus for detecting a data access violation20115
US 2011264959 A1Partial recording of a computer program execution for replay—26
US 2012011491 A1Efficient recording and replaying of the execution path of a computer program—40
US 8,185,874 B2Automatic and systematic detection of race conditions and atomicity violations20129
WO 2012/087402 A1Method and system for detecting abnormal interleavings in concurrent programs—8
US 2012239987 A1System and Method of Manipulating Virtual Machine Recordings for High-Level Execution and Replay—24
US 8,402,318 B2Systems and methods for recording and replaying application execution201335
US 8,510,722 B2Detecting data race and atomicity violation via typestate-guided static analysis201314
US 8,533,681 B2Atomicity violation detection using access interleaving invariants20138
US 8,862,942 B2Method of system for detecting abnormal interleavings in concurrent programs20145
US 2015120996 A1Tracing mechanism for recording shared memory interleavings on multi-core processors—9
US 9,038,048 B2Methods, systems, and media for protecting applications from races201510
US 9,081,628 B2Detecting potential access errors in a multi-threaded application20154
US 9,129,058 B2Application monitoring through continuous record and replay20157
US 9,128,781 B2Processor with memory race recorder to record thread interleavings in multi-threaded software20157
US 9,317,297 B2Replay execution of instructions in thread chunks in the chunk order recorded during previous execution201613

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.