A randomized dynamic program analysis technique for detecting real deadlocks
The DOI matches its Crossref record; 19 of the 19 references it cites were found in a registry or an index.
Abstract
We present a novel dynamic analysis technique that finds real deadlocks in multi-threaded programs. Our technique runs in two stages. In the first stage, we use an imprecise dynamic analysis technique to find potential deadlocks in a multi-threaded program by observing an execution of the program. In the second stage, we control a random thread scheduler to create the potential deadlocks with high probability. Unlike other dynamic analysis techniques, our approach has the advantage that it does not give any false warnings. We have implemented the technique in a prototype tool for Java, and have experimented on a number of large multi-threaded Java programs. We report a number of previously known and unknown real deadlocks that were found in these benchmarks.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Time, clocks, and the ordering of events in a distributed system
Lamport, L. (1978) · Communications of the ACM · doi:10.1145/359545.359563 · Cited by 8,488 · cited 1×
“Dynamic analysis based deadlock detection can be made precise by taking the happens-before relation [18] into account.”
BackgroundHolzmann, G. J. (1997) · IEEE Transactions on Software Engineering · doi:10.1109/32.588521 · Cited by 3,803
Extended static checking for Java
Flanagan, C., Leino, K. R. M., Lillibridge, M., Nelson, G., Saxe, J. B., & Stata, R. (2002) · Proceedings of the ACM SIGPLAN 2002 conference on Programming language design and implementation · doi:10.1145/512529.512558 · Cited by 1,340 · cited 2×
“Several program analysis techniques, both static [19, 10, 2, 9, 27, 29, 21] and dynamic [12, 13, 4, 1], have been developed to detect and predict deadlocks in multi-threaded programs.”
BackgroundModel checking for programming languages using VeriSoft
Godefroid, P. (1997) · Proceedings of the 24th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '97 · doi:10.1145/263699.263717 · Cited by 825 · cited 3×
“ated by the execution of main, then abs3(o) is the sequence [11, 1, 6, 1, 3, 1].”
BackgroundModel checking JAVA programs using JAVA PathFinder
Havelund, K., & Pressburger, T. (2000) · International Journal on Software Tools for Technology Transfer (STTT) · doi:10.1007/s100090050043 · Cited by 800 · cited 1×
“Model checking [15, 11, 7, 14, 6] removes these limitations of testing by systematically exp loring all thread schedules.”
RacerX: effective, static detection of race conditions and deadlocks
Engler, D., & Ashcraft, K. (2003) · ACM SIGOPS Operating Systems Review · doi:10.1145/1165389.945468 · Cited by 661
Ownership types for safe programming: preventing data races and deadlocks
Boyapati, C., Lee, R., & Rinard, M. (2002) · Proceedings of the 17th ACM SIGPLAN conference on Object-oriented programming, systems, languages, and applications - OOPSLA '02 · doi:10.1145/582419.582440 · Cited by 570 · cited 2×
“ecution of main, then abs3(o) is the sequence [11, 3, 7, 1, 3, 5].”
BackgroundRace directed random testing of concurrent programs
Sen, K. (2008) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1375581.1375584 · Cited by 460 · cited 6×
“DEADLOCKFUZZER is part of the active testing framework [16] that we have earlier developed for finding real races [25] and real atomicity violations [23].”
BackgroundMethodInfluentialSelf-citationRacerX: effective, static detection of race conditions and deadlocks
Engler, D., & Ashcraft, K. (2003) · Proceedings of the nineteenth ACM symposium on Operating systems principles · doi:10.1145/945445.945468 · Cited by 368 · cited 1×
“Several program analysis techniques, both static [19, 10, 2, 9, 27, 29, 21] and dynamic [12, 13, 4, 1], have been developed to detect and predict deadlocks in multi-threaded programs.”
Backgroundvon Praun, C., & Gross, T. R. (2001) · Conference on Object-Oriented Programming Systems, Languages, and Applications · doi:10.1145/504282.504288 · Cited by 353 · cited 2×
“The following programs were included in our benchmarks: cache4j, a fast thread-safe implementation of a cache for Java objects; sor, a successive overrelaxation benchmark, and hedc, a web-crawler application, both from ETH [28]; jspider, a highly con.gurable and customizable Web Spider engine; and Jigsaw, W3C s lead…”
MethodRx: treating bugs as allergies---a safe method to survive software failures
Qin, F., Tucek, J. A., Sundaresan, J., & Zhou, Y. (2005) · ACM SIGOPS Operating Systems Review · doi:10.1145/1095809.1095833 · Cited by 331
Rx: treating bugs as allergies---a safe method to survive software failures
Qin, F., Tucek, J., Sundaresan, J., & Zhou, Y. (2005) · Proceedings of the twentieth ACM symposium on Operating systems principles · doi:10.1145/1095810.1095833 · Cited by 214 · cited 1×
“Rx [24] proposes to recover programs from software failures, including deadlocks, by rolling them back to a recent checkpoint, and re-executing the programs in a modified environment.”
BackgroundMultithreaded Java program test generation
Edelstein, O., Farchi, E., Nir-Buchbinder, Y., Ratsaby, G., & Ur, S. (2002) · IBM Systems Journal · doi:10.1147/sj.411.0111 · Cited by 208
Randomized active atomicity violation detection in concurrent programs
Park, C., & Sen, K. (2008) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/1453101.1453121 · Cited by 196 · cited 3×
“([25, 1], [23, 1], [15, 16]), ([26, 1], [22, 1], [15, 16]) 1 c l a s s MyThread extends Thread { 2 Object l1, l2; 3 boolean flag; 4 MyThread(Object l1,Object l2,boolean b){ 5 t h i s.”
BackgroundSelf-citationUsing Runtime Analysis to Guide Model Checking of Java Programs
Havelund, K. (2000) · Lecture notes in computer science · doi:10.1007/10722468_15 · Cited by 196 · cited 3×
“Unlike existing Goodlock algorithms [13, 4, 1], iGoodlock does not use lock graphs or depthfirst search, but reports the same deadlocks as the existing algorithms.”
BackgroundMethodEffective static deadlock detection
Naik, M., Park, C.-S., Sen, K., & Gay, D. (2009) · 2009 IEEE 31st International Conference on Software Engineering · doi:10.1109/icse.2009.5070538 · Cited by 175 · cited 1×
“Several program analysis techniques, both static [19, 10, 2, 9, 27, 29, 21] and dynamic [12, 13, 4, 1], have been developed to detect and predict deadlocks in multi-threaded programs.”
BackgroundSelf-citationA deadlock detection tool for concurrent Java programs
Demartini, C. G., Iosif, R., & Sisto, R. (1999) · Software Practice and Experience · doi:10.1002/(sici)1097-024x(199906)29:7<577::aid-spe246>3.0.co;2-v · Cited by 137 · cited 2×
“ecution of main, then abs3(o) is the sequence [11, 3, 7, 1, 3, 5].”
BackgroundEfficient program execution indexing
Xin, B., Sumner, W. N., & Zhang, X. (2008) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1375581.1375611 · Cited by 100 · cited 2×
“In this paper, we propose two techniques for computing the abstraction of an object that helps us to distinguish between different objects more precisely—the first technique is motivated by the notion of k-object-sensitivity in static analysis [20] and the second technique is motivated by the notion of execution index…”
MethodConcurrent software verification with states, events, and deadlocks
Chaki, S., Clarke, E. M., Ouaknine, J., Sharygina, N., & Sinha, N. (2005) · Formal Aspects of Computing · doi:10.1007/s00165-005-0071-z · Cited by 67
Cited by
(2021) · doi:10.1109/tse.2019.2946563 · Cited by 574
Metadata
- Authors
- Joshi, P., Park, C.-S., Sen, K., & Naik, M.
- Venue
- Proceedings of the 30th ACM SIGPLAN Conference on Programming Language Design and Implementation
- Publisher
- ACM
- Published
- 2009-06-15
- Pages
- 110-120
- ISSN
- 1531-7102 (ISSN-L)
- OpenAlex
- W2119494620
- Cited by
- 190
- References
- 19
- FWCI
- 11.61
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.