Online profiling and feedback-directed optimization of java
Matthew Arnold, Barbara G. Ryder · 2002
The dynamic nature of the Java programming language presents a number of challenges for Java Virtual Machine (JVM) implementations. Constructs such as dynamic class load-ing and reflection make traditional whole program analysis and optimization difficult, or even impossible; however, Java’s dynamic execution environment also presents a potential performance advantage over the traditional static compilation model: the ability to per-form feedback-directed optimizations, where profiling information is collected at runtime and used to tailor the optimization decisions that are made. Although previous work has shown that feedback-directed optimizations can substan-tially improve program performance, most of these systems used offline profiles collected using a separate training run. Performing profiling and optimization online during the same run is an attractive approach because it avoids the need for a separate training run. Unfortunately, the overhead of collecting online profiles is often a problem, and is one of the main reasons why today’s JVM’s perform only limited forms of feedback-directed optimizations. The first contribution of this thesis is a new technique called an instrumentation sam-
Cited by 10 works.
Authors
References
- Continuous profiling
- The superblock: An effective technique for VLIW and superscalar compilation
- Dynamo
- Profile guided code positioning
- System support for automatic profiling and optimization
- Efficient Path Profiling
- Optimally profiling and tracing programs
- A general approach for run-time specialization and its application to C
- Exploiting hardware performance counters with flow and context sensitive profiling
- Using profile information to assist classic code optimizations