Using hpm-sampling to drive dynamic compilation
Dries Buytaert, Andy Georges, Michael Hind et al. · ACM SIGPLAN Conference on Object-Oriented Programming, Systems, Languages, and Applications (OOPSLA) · 2007
All high-performance production JVMs employ an adaptive strategy for program execution. Methods are first executed unoptimized and then an online profiling mechanism is used to find a subset of methods that should be optimized during the same execution. This paper empirically evaluates the design space of several profilers for initiating dynamic compilation and shows that existing online profiling schemes suffer from several limitations. They provide an insufficient number of samples, are untimely, and have limited accuracy at determining the frequently executed methods. We describe and comprehensively evaluate HPM-sampling, a simple but effective profiling scheme for finding optimization candidates using hardware performance monitors (HPMs) that addresses the aforementioned limitations. We show that HPM-sampling is more accurate; has low overhead; and improves performance by 5.7% on average and up to 18.3% when compared to the default system in Jikes RVM, without changing the compiler.
Cited by 25 works. doi:10.1145/1297027.1297068 Open-access PDF
Authors
References
- Applied Linear Statistical Models
- Applied Linear Statistical Models
- Continuous profiling
- The DaCapo benchmarks
- System support for automatic profiling and optimization
- Exploiting hardware performance counters with flow and context sensitive profiling
- The Jalapeño virtual machine
- Adaptive optimization in the Jalapeno JVM
- Statistically rigorous java performance evaluation
- Adaptive optimization in the Jalapeño JVM