Efficient Formalism-Independent Monitoring of Parametric Properties
Authors:
- Feng ChenFCFeng Chen
- Patrick O'NEil MeredithPMPatrick O'NEil Meredith
- Dongyun JinDJDongyun Jin
- Grigore RosuGRGrigore Rosu
- 1 November 2009
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 19384300,p. 383-394
Abstract
Parametric properties provide an effective and natural means to describe object-oriented system behaviors, where the parameters are typed by classes and bound to object instances at runtime. Efficient monitoring of parametric properties, in spite of increasingly growing interest due to applications such as testing and security, imposes a highly non-trivial challenge on monitoring approaches due to the potentially huge number of parameter instances. Existing solutions usually compromise their expressiveness for performance or vice versa. In this paper, we propose a generic, in terms of specification formalism, yet efficient, solution to monitoring parametric specifications. Our approach is based on a general algorithm for slicing parametric traces and makes use of static knowledge about the desired property to optimize monitoring. The needed knowledge is not specific to the underlying formalism and can be easily computed when generating monitoring code from the property. Our approach works with any specification formalism, providing better and extensible expressiveness. Also, a thorough evaluation shows that our technique outperforms other state-of-art techniques optimized for particular logics or properties.Keywords
This publication has 10 references indexed in Scilit:
- Dependent advice2009
- Efficient Monitoring of Parametric Context-Free Patterns2008
- Making trace monitors feasible2007
- Mop2007
- The DaCapo benchmarks2006
- Relational queries over program traces2005
- Adding trace matching with free variables to AspectJ2005
- Rule-Based Runtime Verification2004
- Towards Monitoring-Oriented ProgrammingElectronic Notes in Theoretical Computer Science, 2003
- Monitoring Java Programs with Java PathExplorerElectronic Notes in Theoretical Computer Science, 2001