Patents
US 7,574,697 B2#5451274 Most CitedExpiredUnited States (USPTO)Utility

Testing parallel applications using code instrumentation

17Forward Citations (#5451274 Global)
1.0/yrCitation Velocity (#6467087 Global)
2.17Citation PageRank (#12711829 Global)
3Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method for testing a computer program that includes software code arranged to be executed in multiple threads, including at least a first thread and one or more other threads. The method includes identifying an output statement in the first thread, running the software code so as to generate an output due to the output statement, and intervening in the program so that when the program is run, execution of the first thread is blocked prior to the output statement while the one or more other threads continue to execute. The output generated after intervening in the program is examined in order to detect a fault in the program.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for testing a computer program that includes software code arranged to be executed in multiple threads, including at least a first thread and one or more other threads, the method comprising: identifying an output statement in the first thread, wherein the output statement causes the computer program to output a value of a variable; running the software code on a computer so as to generate a first output due to the output statement, corresponding to a first value of the variable in a first interleaving of the program; instrumenting the software code by inserting an instruction between

Technical Overview & Description

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

Non-Patent Literature (4)

  • Choi, Jong-Deok, et al., "Deterministic Replay of Java Multithreaded Applications," SPDT 98 Welches OR USA, pp. 48-59.
  • Edelstein et al., Multithreaded Java program test generation, IBM Systems Journal, vol. 11, No. 1, Nov. 2002, pp. 111-125.
  • Edelstein, O., et al., "Multithreaded Java Program Test Generation," IBM Systems Journal, vol. 41, No. 1, 2002, pp. 111-125.
  • Satyavathi Malladi, "A Thread Debugger for Testing and Reproducing Concurrency Scenarios", Jan. 15, 2003, ITTC, slides p. 1-36.