Authors: Matthew Arnold, Stephen Fink, David Grove, Michael Hind and Peter F. Sweeney
Citation: Published in Proceedings of the IEEE Vol. 93 Iss. 2, February 2005.
Virtual machines face significant performance challenges beyond those confronted by traditional static optimizers. First, portable program representations and dynamic language features, such as dynamic class loading, force the deferral of most optimizations until runtime, inducing runtime optimization overhead. Second, modular program representations preclude many forms of whole-program interprocedural optimization. Third, virtual machines incur additional costs for runtime services such as security guarantees and automatic memory management.
To address these challenges, vendors have invested considerable resources into adaptive optimization systems in production virtual machines. Today, mainstream virtual machine implementations include substantial infrastructure for online monitoring and profiling, runtime compilation, and feedback-directed optimization. As a result, adaptive optimization has begun to mature as a widespread production-level technology.
This paper surveys the evolution and current state-of-the-art of adaptive optimization technology in virtual machines.
A preprint is available as an IBM Research Report.
