Dynamic metrics for java
Bruno Dufour, Karel Driesen, Laurie Jane Hendren et al. · 2003
In order to perform meaningful experiments in optimizing compilation and run-time system design, researchers usually rely on a suite of benchmark programs of interest to the optimization technique under consideration. Programs are described as numeric, memory-intensive, concurrent, or object-oriented, based on a qualitative appraisal, in some cases with little justification. We believe it is beneficial to quantify the behaviour of programs with a concise and precisely defined set of metrics, in order to make these intuitive notions of program behaviour more concrete and subject to experimental validation. We therefore define and measure a set of unambiguous, dynamic, robust and architecture-independent metrics that can be used to categorize programs according to their dynamic behaviour in five areas: size, data structure, memory use, concurrency, and polymorphism. A framework computing some of these metrics for Java programs is presented along with specific results demonstrating how to use metric data to understand a program's behaviour, and both guide and evaluate compiler optimizations.
Cited by 159 works. doi:10.1145/949305.949320
Authors
References
- Computer Architecture: A Quantitative Approach
- Software Metrics: A Rigorous and Practical Approach
- Computer Architecture: A Quantitative Approach, 2nd Edition
- Efficient implementation of the smalltalk-80 system
- Alternative implementations of two-level adaptive branch prediction
- Optimization of Object-Oriented Programs Using Static Class Hierarchy Analysis
- Unification-based pointer analysis with directional assignments
- The design and evaluation of a high performance Smalltalk system
- Thin locks
- Target prediction for indirect jumps