Our Experiences with Optimizations in Sun's Java Just-In-Time Compilers
Anderson Faustino da Silva (Federal University of Rio de Janeiro, Brazil)
Vitor Santos Costa (Federal University of Rio de Janeiro, Brazil)
Abstract: Modern Java Compilers, such as Sun's HotSpot compilers, implement a number of optimizations, ranging from high-level program transformations to low-level architecure dependent operations such as instruction scheduling. In a Just-in-Time (JIT) environment, the impact of each optimization must be weighed against its cost in terms of total runtime. Towards better understanding the usefulness of individual optimizations, we study the main optimizations available on Sun HotSpot compilers for a wide range of scientific and non-scientific benchmarks, weighing their cost and benefits in total runtime. We chose the HotSpot technology because it is state of the art and its source code is available.
Keywords: Dynamic compilation, Just-in-Time compiler, compiler optimizations
Categories: C.4, D.3.4