QVM
Matthew Arnold, Martin Vechev, Eran Yahav · ACM Transactions on Software Engineering and Methodology · 2011
Coping with software defects that occur in the post-deployment stage is a challenging problem: bugs may occur only when the system uses a specific configuration and only under certain usage scenarios. Nevertheless, halting production systems until the bug is tracked and fixed is often impossible. Thus, developers have to try to reproduce the bug in laboratory conditions. Often, the reproduction of the bug takes most of the debugging effort. In this paper we suggest an approach to address this problem by using a specialized runtime environment called Quality Virtual Machine (QVM). QVM efficiently detects defects by continuously monitoring the execution of the application in a production setting. QVM enables the efficient checking of violations of user-specified correctness properties, that is, typestate safety properties, Java assertions, and heap properties pertaining to ownership. QVM is markedly different from existing techniques for continuous monitoring by using a novel overhead manager which enforces a user-specified overhead budget for quality checks. Existing tools for error detection in the field usually disrupt the operation of the deployed system. QVM, on the other hand, provides a balanced trade-off between the cost of the monitoring process and the maintenance of sufficient accuracy for detecting defects. Specifically, the overhead cost of using QVM instead of a standard JVM, is low enough to be acceptable in production environments. We implemented QVM on top of IBM’s J9 Java Virtual Machine and used it to detect and fix various errors in real-world applications.
Cited by 26 works. doi:10.1145/2063239.2063241
Authors
References
- Lecture Notes in Computer Science 1205
- Valgrind
- Enforcing high-level protocols in low-level software
- The DaCapo benchmarks
- Typestate: A programming language concept for enhancing software reliability
- Flow-sensitive type qualifiers
- Ownership types for safe programming
- Islands
- A framework for reducing the cost of instrumented code
- Proceedings of the European Conference on Object-Oriented Programming