Logo image
Static Infinite Wait Anomaly Detection in Polynomial Time
Technical documentation   Open access

Static Infinite Wait Anomaly Detection in Polynomial Time

Stephen P. Masticola and Barbara G. Ryder
Rutgers University
1990
DOI:
https://doi.org/10.7282/T3QJ7MSJ

Abstract

Innite wait anomalies associated with a barrier rendezvous model (e.g., Ada) can be divided into two classes: stal ls and dead locks. Although precise static deadlock detection is NP-hard, we present two polynomial time algorithms which operate on a statically derivable program representation, the sync graph, to certify a useful class of programs free of deadlocks. We identify three conditions local to any deadlocked tasks, and a fourth global condition on all tasks, which must occur in the sync graph of any program which can deadlock. Again, exact checking of the local conditions is NP-hard; the algorithms check them using conservative approximations. Certifying stall freedom is intractable for programs with conditional branching, including loops. We give program transforms which may help alleviate this diculty.
pdf
lcsr-tr-141307.53 kBDownloadView
Technical Documentation Open Access
url
Report an accessibility issueView
Please complete a content remediation request to report an accessibility issue with a library electronic resource, website, or service.

Metrics

93 File downloads
160 Record Views

Details

Logo image