An Infrastructure for Adaptive Dynamic Optimization
Derek Bruening, Timothy Garnett, Saman P. Amarasinghe · 2003
Dynamic optimization is emerging as a promising approach to overcome many of the obstacles of traditional static compilation. But while there are a number of compiler infrastructures for developing static optimizations, there are very few for developing dynamic optimizations. We present a framework for implementing dynamic analyses and optimizations. We provide an interface for building external modules, or clients, for the DynamoRIO dynamic code modification system. This interface abstracts away many low-level details of the DynamoRIO runtime system while exposing a simple and powerful, yet efficient and lightweight, API. This is achieved by restricting optimization units to linear streams of code and using adaptive levels of detail for representing instructions. The interface is not restricted to optimization and can be used for instrumentation, profiling, dynamic translation, etc.
Cited by 436 works.
Authors
References
- Continuous profiling
- Efficient implementation of the smalltalk-80 system
- Shade: a fast instruction-set simulator for execution profiling
- The Paradyn parallel performance measurement tool
- Dynamo
- Secure Execution Via Program Shepherding
- An API for Runtime Code Patching
- Embra
- Trace Cache: A Low Latency Approach to High Bandwidth Instruction Fetching
- A general approach for run-time specialization and its application to C