Patents
US 7,620,852 B2#12060393 Most CitedExpiredUnited States (USPTO)Utility

Systems and methods of reporting multiple threads involved in a potential data race

9Forward Citations (#12060393 Global)
0.5/yrCitation Velocity (#14970332 Global)
1.73Citation PageRank (#18377556 Global)
18Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Criteria are defined for determining when additional stack dumps would be saved and presented (e.g., to the developer). This provides more information for the developer to use for debugging, and yet does not overburden the developer with irrelevant information. Suspicious activity worthy of an additional stack dumps may be defined as a thread accessing an already suspicious location that is different than the original thread, a write access being made and no write access having yet been made to the target location, or if the lockset being held by the thread accessing the location is omitted from the intersection of all locksets involved in stack dumps for the location.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of reporting a warning involving a prospective data race among a plurality of threads of a multithreaded computer program, comprising: monitoring lock acquisition and memory accesses to a memory location and computing a memory access pattern for each memory access; determining whether a memory access to the location by a thread results in a suspicious memory access pattern for the location and, if so, dumping the stack of the thread detecting a subsequent memory access to the location; determining if at least one predetermined criterion regarding the subsequent memory access is met; a

  2. Claim 2Depends on #1

    The method of claim 1 , wherein the at least one predetermined criterion comprises whether the thread making the subsequent access has

Technical Overview & Description

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

References Cited — Backward Prior Art (18)

PatentTitleYearCitations
US 4,486,831 AMulti-programming data processing system process suspension198431
US 5,590,326 AShared data management scheme using shared data locks for multi-threading1996136
US 5,822,588 ASystem and method for checking the use of synchronization locks in a multi-threaded target program1998102
US 5,924,122 AMethod for error recovery spinlock in asymmetrically accessed multiprocessor shared memory199918
US 6,009,269 ADetecting concurrency errors in multi-threaded programs1999146
US 6,167,358 ASystem and method for remotely monitoring a plurality of computer-based systems2000274
US 6,343,371 B1System and method for statically detecting potential race conditions in multi-threaded computer programs200292
US 6,405,326 B1Timing related bug detector method for detecting data races200249
US 6,418,542 B1Critical signal thread200263
US 2002129306 A1Method and apparatus for verifying data local to a single thread—29
US 2003056149 A1Automated tool for detection of potential race condition—33
US 2003131283 A1Race detections for parallel software—67
US 6,593,940 B1Method for finding errors in multithreaded applications2003121
US 6,622,155 B1Distributed monitor concurrency control200363
US 6,817,009 B2Method and apparatus for verifying data local to a single thread200451
US 6,851,075 B2Race detection for parallel software200564
US 6,948,092 B2System recovery from errors for processor and associated components200579
US 2005283781 A1Detecting data races in multithreaded computer programs—64

Non-Patent Literature (5)

  • Mellor-Crummey, J., "On-the-Fly Detection of Data Races for Programs with Nested Fork-Join Parallelism", Supercomputing, 1991, 24-33.
  • Nishiyama, H., "Detecting Data Races using Dynamic Escape Analysis based on Read Barrier", Proceedings of the Third Virtual Machine Research and Technology Symposium, May 6-7, 2004, 13 pages.
  • Savage, S. et al., "Eraser: A Dynamic Data Race Detector for Multithreaded Programs", ACM Transactions on Computer Systems, Nov. 1997, 15(4), 391-411.
  • von Praun, C. et al., "Object Race Detection", OOPSLA, 2001, 70-82.
  • Yu, Y. et al., "RaceTrack: Race Detection for Managed Code", Presentation at Microsoft TechFest, Mar. 3-4, 2004, 39 pages.