Loading...
Please wait, while we are loading the content...
Similar Documents
Computing Approximate Happens-Before Order with Static and Dynamic Analysis
| Content Provider | Semantic Scholar |
|---|---|
| Author | Parízek, Pavel Jancík, Pavel |
| Copyright Year | 2013 |
| Abstract | All techniques and tools for verification of multi-threaded programs must cope with the huge number of possible thread interleavings. Tools based on systematic exploration of a program state space employ partial order reduction to avoid redundant thread interleavings and unnecessary thread choices. The key idea is to make non-deterministic thread choices only at statements that read or modify the global state shared by multiple threads. We focus on Java Pathfinder (JPF), which constructs the program state space on-the-fly, and therefore uses only information available in the current dynamic program state and execution history to identify statements that may be globally-relevant. In our previous work, we developed a field access analysis that provides information about fields that may be accessed in the future during program execution, and used it with JPF for more precise identification of globally-relevant statements. We build upon that and propose a hybrid may-happen-before analysis that computes a safe approximation of the happens-before ordering. JPF uses the happensbefore ordering to detect pairs of globally-relevant field access statements that cannot be interleaved arbitrarily (due to synchronization between threads), and based on that avoids making unnecessary thread choices. The may-happen-before analysis combines static data flow analysis and usage of information available from the dynamic program state. This report describes the may-happen-before analysis, and provides results of experiments with several Java programs showing that usage of the may-happen-before analysis together with the field access analysis improves the scalability of JPF. This work was partially supported by the Grant Agency of the Czech Republic project 13-12121P and the EU project ASCENS 257414. The work was also partially supported by the Grant Agency of the Charles University project 203-10/253297. D3S, Technical Report no. D3S-TR-2013-06 CONTENTS |
| File Format | PDF HTM / HTML |
| Alternate Webpage(s) | http://d3s.mff.cuni.cz/publications/download/D3S-TR-2013-06.pdf |
| Language | English |
| Access Restriction | Open |
| Content Type | Text |
| Resource Type | Article |