Proceedings paper

Title:
Checking Just Pairs of Threads for Efficient and Scalable Incremental Verification of Multithreaded Programs
Authors:
Publication:
Proceedings of JPF Workshop 2022
DOI:
Year:
2023
Link:

Abstract:
Many techniques of automated verification target multithreaded programs, because subtle interactions between threads may trigger concurrency errors such as deadlocks and data races. However, techniques and tools involving systematic exploration of the whole space of possible thread interleavings do not scale to large software systems, despite various clever algorithmic optimizations. A viable approach is to use incremental verification techniques that, in each run, focus just on the recently modified code and the relatively small number of affected execution traces, and therefore can provide results (bug reports) very quickly. In this paper we present a new algorithm for incremental verification of multithreaded programs based on the pairwise approach, whose key idea is systematic exploration of all possible thread interleavings just for specific relevant pairs of threads. We implemented the algorithm with Java Pathfinder as the backend verification tool, and evaluated it on several multithreaded Java programs. Results show that our incremental algorithm (1) can find errors very fast, (2) greatly reduces time needed for complete safety verification, and (3) it can find the same errors as full verification of the whole state space.

BibTeX:
@inproceedings{parizek_checking_2023,
    title = {{Checking Just Pairs of Threads for Efficient and Scalable Incremental Verification of Multithreaded Programs}},
    author = {Parízek, Pavel and Kliber, Filip},
    year = {2023},
    booktitle = {{Proceedings of JPF Workshop 2022}},
    publisher = {ACM},
    location = {Michigan, USA},
    doi = {10.1145/3573074.3573082},
    pages = {27--31},
    url = {https://doi.org/10.1145/3573074.3573082},
}