Design of the Java HotSpot™ client compiler for Java 6

Author:

Kotzmann Thomas1,Wimmer Christian1,Mössenböck Hanspeter1,Rodriguez Thomas2,Russell Kenneth2,Cox David2

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

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3