Counting dynamically synchronizing processes
2016 (engelsk)Inngår i: International Journal on Software Tools for Technology Transfer, ISSN 1433-2779, E-ISSN 1433-2787, Vol. 18, nr 5, s. 517-534Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]
We address the problem of automatically establishing correctness for programs generating an arbitrary number of concurrent processes and manipulating variables ranging over an infinite domain. The programs we consider can make use of the shared variables to count and synchronize the spawned processes. This allows them to implement intricate synchronization mechanisms, such as barriers. Automatically verifying correctness, and deadlock freedom, of such programs is beyond the capabilities of current techniques. For this purpose, we make use of counting predicates that mix counters referring to the number of processes satisfying certain properties and variables directly manipulated by the concurrent processes. We then combine existing works on counter, predicate, and constrained monotonic abstraction and build a nested counter example based refinement scheme for establishing correctness (expressed as non-reachability of configurations satisfying counting predicates formulas). We have implemented a tool (Pacman, for predicated constrained monotonic abstraction) and used it to perform parameterized verification on several programs whose correctness crucially depends on precisely capturing the number of processes synchronizing using shared variables.
sted, utgiver, år, opplag, sider
Springer Berlin/Heidelberg, 2016. Vol. 18, nr 5, s. 517-534
Emneord [en]
Parameterized verification, Counting predicate, Barrier synchronization, Deadlock freedom, Multithreaded programs, Counter abstraction, Predicate abstraction, Constrained monotonic abstraction
HSV kategori
Identifikatorer
URN: urn:nbn:se:liu:diva-124406DOI: 10.1007/s10009-015-0411-0ISI: 000382011100004OAI: oai:DiVA.org:liu-124406DiVA, id: diva2:898584
Merknad
Funding agencies: 12.04 CENIIT project
2016-01-282016-01-282024-01-17