DocumentCode :
1985249
Title :
Data flow analysis for checking properties of concurrent Java programs
Author :
Naumovich, Gieb ; Avrunin, George S. ; Clarke, Lori A.
Author_Institution :
Dept. of Comput. Sci., Massachusetts Univ., Amherst, MA, USA
fYear :
1999
fDate :
22-22 May 1999
Firstpage :
399
Lastpage :
410
Abstract :
In this paper we show how the FLAVERS data flow analysis technique, originally formulated for systems using a rendezvous concurrency model, can be applied to the various concurrency models used in Java programs. The general approach of FLAVERS is based on modeling a concurrent system as a flow graph and, using a data flow analysis algorithm over this graph, statically checking if a property holds on all (or no) executions of the program. The accuracy of this analysis can be iteratively improved, as needed, by supplying additional constraints, represented as finite state automata, to the data flow analysis algorithm. In this paper we present an approach for analyzing Java programs that uses the constraint mechanism to model the possible communications among threads in Java programs, instead of representing them directly in the flow graph model. We also discuss a number of error-prone thread communication patterns that can arise in Java and describe how FLAVERS can be used to check for the presence of these. A preliminary evaluation of this approach is carried out by analyzing some small concurrent Java programs for these error-prone communication patterns and other, program-specific, faults.
Keywords :
Java; concurrency theory; data flow analysis; FLAVERS; Java programs; concurrency model; data flow analysis; flow graph; flow graph model; Algorithm design and analysis; Computer science; Concurrent computing; Data analysis; Flow graphs; Iterative algorithms; Java; Mathematical model; System testing; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering, 1999. Proceedings of the 1999 International Conference on
Conference_Location :
Los Angeles, CA, USA
ISSN :
0270-5257
Print_ISBN :
1-58113-074-0
Type :
conf
Filename :
841030
Link To Document :
بازگشت