• Home
  • Search
  • Summarizing procedures in concurrent programs
  • Open Access IconOpen Access
  • Cite Icon23
  • https://doi.org/10.1145/982962.964022Copy DOI Icon

Summarizing procedures in concurrent programs

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The ability to summarize procedures is fundamental to building scalable interprocedural analyses. For sequential programs, procedure summarization is well-understood and used routinely in a variety of compiler optimizations and software defect-detection tools. However, the benefit of summarization is not available to multithreaded programs, for which a clear notion of summaries has so far remained unarticulated in the research literature.In this paper, we present an intuitive and novel notion of procedure summaries for multithreaded programs. We also present a model checking algorithm for these programs that uses procedure summarization as an essential component. Our algorithm can also be viewed as a precise interprocedural dataflow analysis for multithreaded programs. Our method for procedure summarization is based on the insight that in well-synchronized programs, any computation of a thread can be viewed as a sequence of transactions, each of which appears to execute atomically to other threads. We summarize within each transaction; the summary of a procedure comprises the summaries of all transactions within the procedure. We leverage the theory of reduction [17] to infer boundaries of these transactions.The procedure summaries computed by our algorithm allow reuse of analysis results across different call sites in a multithreaded program, a benefit that has hitherto been available only to sequential programs. Although our algorithm is not guaranteed to terminate on multithreaded programs that use recursion (reachability analysis for multithreaded programs with recursive procedures is undecidable [18]), there is a large class of programs for which our algorithm does terminate. We give a formal characterization of this class, which includes programs that use shared variables, synchronization, and recursion.

Similar Papers
  • Conference Article
  • Citations96

Summarizing procedures in concurrent programs

  • Jan 01, 2004
  • Shaz Qadeer +2
  • Conference Article
  • Citations5

<u>T</u>i<u>d</u>d<u>l</u>e

  • Jul 20, 2009
  • Caitlin Sadowski +1
  • Research Article

Concurrent Programming:The Java Programming Language

  • Mar 01, 2001
  • Scalable Computing Practice and Experience
  • Greg Gagne
  • Research Article
  • Citations169

Distributed Computing: Fundamentals, Simulations and Advanced Topics

  • Jan 03, 2001
  • Scalable Computing Practice and Experience
  • Marcin Paprzycki
  • Conference Article
  • Citations18

Complexity of pattern-based verification for multithreaded programs

  • Jan 26, 2011
  • Javier Esparza +1
  • Book Chapter
  • Citations64

Extending JML for Modular Specification and Verification of Multi-threaded Programs

  • Jan 01, 2005
  • Edwin Rodríguez +5
  • PDF
  • Research Article
  • Citations12

Quantitative Security Analysis for Multi-threaded Programs

  • Jun 11, 2013
  • Electronic Proceedings in Theoretical Computer Science
  • Tri Minh Ngo +1
  • Research Article
  • Citations4

Optimization of Robot Telemonitoring System Software using multi-thread method

  • May 03, 2018
  • Midriem Mirdanies
  • Research Article
  • Citations23

Complexity of pattern-based verification for multithreaded programs

  • Jan 26, 2011
  • ACM SIGPLAN Notices
  • Javier Esparza +1
  • Conference Article
  • Citations199

A randomized dynamic program analysis technique for detecting real deadlocks

  • Jun 15, 2009
  • Pallavi Joshi +3
  • Research Article
  • Citations42

A randomized dynamic program analysis technique for detecting real deadlocks

  • May 28, 2009
  • ACM SIGPLAN Notices
  • Pallavi Joshi +3
  • Research Article
  • Citations7

Apportioning: a technique for efficient reachability analysis of concurrent object-oriented programs

  • Jan 01, 2001
  • IEEE Transactions on Software Engineering
  • S Iyer +1
  • Research Article
  • Citations15

A general method for rendering static analyses for diverse concurrency models modular

  • Oct 03, 2018
  • Journal of Systems and Software
  • Quentin Stiévenart +3
  • Conference Article
  • Citations34

Sound and precise analysis of parallel programs through schedule specialization

  • Jun 11, 2012
  • Jingyue Wu +4
  • PDF
  • Research Article
  • Citations3

A Generic Graph Model for WCET Analysis of Multi-Core Concurrent Applications

  • Jan 01, 2016
  • Journal of Software Engineering and Applications
  • Robert Mittermayr +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.