Reducing the Cost of Path Property Monitoring Through Sampling
Authors:
- Matthew B. DwyerMDMatthew B. Dwyer
- Madeline DiepMDMadeline Diep
- Sebastian ElbaumSESebastian Elbaum
- 1 September 2008
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 228-237
Abstract
Run-time monitoring can provide important insights about a program's behavior and, for simple properties, it can be done efficiently. Monitoring properties describing sequences of program states and events, however, can result in significant run-time overhead. In this paper we present a novel approach to reducing the cost of run-time monitoring of path properties. Properties are composed to form a single integrated property that is then systematically decomposed into a set of properties that encode necessary conditions for property violations. The resulting set of properties forms a lattice whose structure is exploited to select a sample of properties that can lower monitoring cost, while preserving violation detection power relative to the original properties. Preliminary studies for a widely used Java API reveal that our approach produces a rich, structured set of properties that enables control of monitoring overhead, while detecting more violations than alternative techniques.Keywords
This publication has 20 references indexed in Scilit:
- Residual dynamic typestate analysis exploiting static analysis2007
- Java Persistence mit Hibernate2007
- Pin2005
- Profiling deployed software: assessing strategies and testing opportunitiesIEEE Transactions on Software Engineering, 2005
- Abstraction for Falsification2005
- MuJava: an automated class mutation systemSoftware Testing, Verification and Reliability, 2004
- Mining specifications2002
- A framework for reducing the cost of instrumented code2001
- Patterns in property specifications for finite-state verification1999
- Gprof1982