Affiliation:
1. Johannes Kepler University Linz, Austria
2. Sun Microsystems, Inc., Santa Clara, CA
Abstract
Version 6 of Sun Microsystems' Java HotSpot™ VM ships with a redesigned version of the client just-in-time compiler that includes several research results of the last years. The client compiler is at the heart of the VM configuration used by default for interactive desktop applications. For such applications, low startup and pause times are more important than peak performance. This paper outlines the new architecture of the client compiler and shows how it interacts with the VM. It presents the intermediate representation that now uses static single-assignment (SSA) form and the linear scan algorithm for global register allocation. Efficient support for exception handling and deoptimization fulfills the demands that are imposed by the dynamic features of the Java programming language. The evaluation shows that the new client compiler generates better code in less time. The popular SPECjvm98 benchmark suite is executed 45% faster, while the compilation speed is also up to 40% better. This indicates that a carefully selected set of global optimizations can also be integrated in just-in-time compilers that focus on compilation speed and not on peak performance. In addition, the paper presents the impact of several optimizations on execution and compilation speed. As the source code is freely available, the Java HotSpot™ VM and the client compiler are the ideal basis for experiments with new feedback-directed optimizations in a production-level Java just-in-time compiler. The paper outlines research projects that add fast algorithms for escape analysis, automatic object inlining, and array bounds check elimination.
Publisher
Association for Computing Machinery (ACM)
Subject
Hardware and Architecture,Information Systems,Software
Reference66 articles.
1. Fast, effective code generation in a just-in-time Java compiler
2. The StarJIT compiler: A dynamic compiler for managed runtime environments;Adl-Tabatabai A.-R.;Intel Tech. J.,2003
3. An efficient meta-lock for implementing ubiquitous synchronization
4. Allen J. R. and Kennedy K. 2002. Optimizing compilers for modern architectures. Morgan Kaufmann Publi. Burlington MA.]] Allen J. R. and Kennedy K. 2002. Optimizing compilers for modern architectures. Morgan Kaufmann Publi. Burlington MA.]]
5. The Jalapeño virtual machine
Cited by
90 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. JACO: JAva Code Layout Optimizer Enabling Continuous Optimization without Pausing Application Services;2023 IEEE International Conference on Cluster Computing (CLUSTER);2023-10-31
2. Remote Just-in-Time Compilation for Dynamic Languages;Companion Proceedings of the 2023 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity;2023-10-22
3. Diagnosing Compiler Performance by Comparing Optimization Decisions;Proceedings of the 20th ACM SIGPLAN International Conference on Managed Programming Languages and Runtimes;2023-10-19
4. Design and Implementation of Data Flow Programming Language DFC2;Proceedings of the 52nd International Conference on Parallel Processing Workshops;2023-08-07
5. Optimization-Aware Compiler-Level Event Profiling;ACM Transactions on Programming Languages and Systems;2023-06-26