Patents
US 7,316,005 B2#1269622 Most CitedExpiredUnited States (USPTO)Utility

Data race detection using sequential program analysis

42Forward Citations (#1269622 Global)
2.3/yrCitation Velocity (#1494162 Global)
8.45Citation PageRank (#1401978 Global)
13Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A concurrent program is analyzed for the presence of data races by the creation of a sequential program from the concurrent program. The sequential program contains assertions which can be verified by a sequential program analysis tool, and which, when violated, indicate the presence of a data race. The sequential program emulates multiple executions of the concurrent program by nondeterministically scheduling asynchronous threads of the concurrent program on a single runtime stack and nondeterministically removing the currently-executing thread from the stack before instructions of the program. Checking functions are used to provide assertions for data races, along with a global access variable, which indicates if a variable being analyzed for data races is currently being accessed by any threads.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 42.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer comprising one or more computer-readable media and a processor, the computer-readable media containing instructions, which, when executed by the processor on the computer, cause the computer to perform the actions of a system for detecting a data race in a multithreaded concurrent program, the system comprising: a program sequentializer module configured to receive code for a concurrent program as input and create as output a single-threaded sequential program utilizing a single run-time stack having assertions; wherein, when the sequential program is analyzed by a program analyzer,

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

Non-Patent Literature (5)

  • Ball et al., "The SLAM project: debugging system software via static analysis." Proceedings of the 29th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL '02), ACM Press, 2002, 3 pages.
  • Bouajjani et al., "A generic approach to the static analysis of concurrent programs with procedures." Proceedings of the 30th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL '03), ACM Press, 2003, 12 pages.
  • Bush et al., "A static analyzer for finding dynamic programming errors." Software-Practice and Experience, 30(7):775-802, Jun. 2000.
  • Corbett et al., "Bandera: extracting finite-state models from Java source code." International Conference on Software Engineering, 2000, pp. 439-448.
  • Das et al., "ESP: Path-sensitive program verification in polynomial time." Proceedings of the ACM SIGPLAN 2002 Conference on Programming Language Design and Implementation (PLDI'02), ACM Press, 2002, 12 pages.