z-logo
open-access-imgOpen Access
Using hpm-sampling to drive dynamic compilation
Author(s) -
Dries Buytaert,
Andy Georges,
Michael Hind,
Matthew Arnold,
Lieven Eeckhout,
Koen De Bosschere
Publication year - 2007
Publication title -
ghent university academic bibliography (ghent university)
Language(s) - English
Resource type - Conference proceedings
ISSN - 0362-1340
DOI - 10.1145/1297027.1297068
Subject(s) - computer science , profiling (computer programming) , compiler , overhead (engineering) , execution time , embedded system , parallel computing , real time computing , computer engineering , operating system
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here
Accelerating Research

Address

John Eccles House
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom