Detecting concurrently executed pairs of statements using an adapted MHP algorithm

  • Authors:
  • Zhenqiang Chen;Baowen Xu;Huiming Yu

  • Affiliations:
  • Southeast University, Nanjing 210096, China;Southeast University, Nanjing 210096, China;North Carolina A&T State University, Greensboro, NC

  • Venue:
  • Proceedings of the 2001 annual ACM SIGAda international conference on Ada
  • Year:
  • 2001

Quantified Score

Hi-index 0.00

Visualization

Abstract

Information about which pairs of statements in a program can be executed concurrently is important for improving the accuracy of dataflow analysis, optimizing programs, and detecting errors. This paper presents a new method named Concurrent Control Flow Graph for representing concurrent Ada 95 programs in a simple and precise way. Based on this method, we develop an Adapted MHP algorithm that can statically detect all pairs of statements that may be executed concurrently. This algorithm checks not only whether a rendezvous can be triggered, but also whether it can be finished. Although this algorithm generates a conservative superset of the perfect pairs of statements, it is more precise than many existing methods.