Testing of concurrent programs using genetic algorithms

  • Authors:
  • Vendula Hrubá;Bohuslav Křena;Zdeněk Letko;Shmuel Ur;Tomáš Vojnar

  • Affiliations:
  • IT4Innovations Centre of Excellence, FIT, Brno University of Technology, Czech Republic;IT4Innovations Centre of Excellence, FIT, Brno University of Technology, Czech Republic;IT4Innovations Centre of Excellence, FIT, Brno University of Technology, Czech Republic;Shmuel Ur Innovations, Ltd., Israel;IT4Innovations Centre of Excellence, FIT, Brno University of Technology, Czech Republic

  • Venue:
  • SSBSE'12 Proceedings of the 4th international conference on Search Based Software Engineering
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Noise injection disturbs the scheduling of program threads in order to increase the probability that more of their different legal interleavings occur during the testing process. However, there exist many different types of noise heuristics with many different parameters that are not easy to set such that noise injection is really efficient. In this paper, we propose a new way of using genetic algorithms to search for suitable types of noise heuristics and their parameters. This task is formalized as the test and noise configuration search problem in the paper, followed by a discussion of how to represent instances of this problem for genetic algorithms, which objectives functions to use, as well as parameter tuning of genetic algorithms when solving the problem. The proposed approach is evaluated on a set of benchmarks, showing that it provides significantly better results than the so far preferred random noise injection.