【24h】

A dynamic optimization framework for a Java just-in-time compiler

机译:Java中继编译器的动态优化框架

获取原文

摘要

The high performance implementation of Java Virtual Machines (JVM) and just-in-time (JIT) compilers is directed toward adaptive compilation optimizations on the basis of online runtime profile information. This paper describes the design and implementation of a dynamic optimization framework in a production-level Java JIT compiler. Our approach is to employ a mixed mode interpreter and a three level optimizing compiler, supporting quick, full, and special optimization, each of which has a different set of tradeoffs between compilation overhead and execution speed. a lightweight sampling profiler operates continuously during the entire program's exectuion. When necessary, detailed information on runtime behavior is collected by dynmiacally generating instrumentation code which can be installed to and uninstalled from the specified recompilation target code. Value profiling with this instrumentation mechanism allows fully automatic code specialization to be performed on the basis of specific parameter values or global data at the highest optimization level. The experimental results show that our approach offers high performance and a low code expansion ratio in both program startup and steady state measurements in comparison to the compile-only approach, and that the code specialization can also contribute modest performance improvement
机译:Java虚拟机(JVM)和即时(JIT)编译器的高性能实现是基于在线运行时配置文件信息的自适应编译优化。本文介绍了生产级Java JIT编译器中动态优化框架的设计和实现。我们的方法是采用混合模式解释器和三级优化编译器,支持快速,完整,特别优化,每个都有一个不同的折衷集合,在编译开销和执行速度之间。轻量级采样分析器在整个程序的exectuion期间连续运行。必要时,可以通过DynMiaIaCally生成仪表代码收集有关运行时行为的详细信息,该仪器代码可以从指定的重新编译目标代码安装并卸载。使用本仪器机制的价值分析允许在最高优化级别的特定参数值或全局数据的基础上进行全自动代码专业化。实验结果表明,与唯一的拟合方法相比,我们的方法在程序启动和稳态测量中提供了高性能和低码扩展比,并且代码专业化也可以贡献适度的性能改进

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号