DocumentCode
3155669
Title
Optimizing Generation of Object Graphs in Java PathFinder
Author
Gligoric, Milos ; Gvero, Tihomir ; Lauterburg, Steven ; Marinov, Darko ; Khurshid, Sarfraz
Author_Institution
Univ. of Belgrade, Belgrade
fYear
2009
fDate
1-4 April 2009
Firstpage
51
Lastpage
60
Abstract
Java PathFinder (JPF) is a popular model checker for Java programs. JPF was used to generate object graphs as test inputs for object-oriented programs. Specifically, JPF was used as an implementation engine for the Korat algorithm. Korat takes two inputs---a Java predicate that encodes properties of desired object graphs and a bound on the size of the graph---and generates all graphs (within the given bound) that satisfy the encoded properties. Korat uses a systematic search to explore the bounded state space of object graphs. Korat search was originally implemented in JPF using a simple instrumentation of the Java predicate. However, JPF is a general-purpose model checker and such direct implementation results in an unnecessarily slow search. We present our results on speeding up Korat search in JPF. The experiments on ten data structure subjects show that our modifications of JPF reduce the search time by over an order of magnitude.
Keywords
Java; object-oriented programming; program testing; program verification; Java PathFinder; Java programs; Korat algorithm; model checker; object graphs; object-oriented programs; Automatic testing; Costs; Data structures; Instruments; Java; Object oriented modeling; Protocols; Search engines; Software testing; State-space methods;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Testing Verification and Validation, 2009. ICST '09. International Conference on
Conference_Location
Denver, CO
Print_ISBN
978-1-4244-3775-7
Electronic_ISBN
978-0-7695-3601-9
Type
conf
DOI
10.1109/ICST.2009.52
Filename
4815337
Link To Document