JUCS - Journal of Universal Computer Science 12(7): 788-810, doi: 10.3217/jucs-012-07-0788
Our Experiences with Optimizations in Sun's Java Just-In-Time Compilers
expand article infoAnderson Faustino da Silva, Vitor Santos Costa
‡ Federal University of Rio de Janeiro, Brazil
Open Access
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