【24h】

Quicksilver: A Quasi-Compiler for Java

机译:QuickSilver:Java的一个准编译器

获取原文

摘要

This paper presents the design and implementation of the Quicksilver~1 quasi-static compiler for Java. Quasi-static compilation is a new approach that combines the benefits of static and dynamic compilation, while maintaining compliance with the Java standard, including support of its dynamic features. A quasi-static compiler relies on the generation and reuse of persistent code images to reduce the overhead of compilation during program execution, and to provide identical, testable and reliable binaries over different program executions. At runtime, the quasi-static compiler adapts pre-compiled binaries to the current JVM instance, and uses dynamic compilaiton of the code when necessary to support dynamic Java features. Our system allows interprocedural program optimizations to be performed while maintaining binary compatibility. Experimental data obtained using a preliminary implementation of a quasi-static compiler in the Jalapeno JVM clearly demonstrates the benefits of our approahc: we achieve a runtime compilation cost comparable to that of baseline (fast, non-optimizing) compilation, and deliver the runtime program performance ofthe highest optimization level supported by the Jalapeno optimizing compiler. For the SPECjvm98 benchmark suite, we obtain a factor of 104 to 158 reduction in the rutnime compilation overhead relative to the Jalapeno optimizing compiler. Relative to the better of the baseline and the optimizing Jalapeno compilers, the overall performance (taking into account both runtime compilation and execution costs) is increased by 9.2
机译:本文介绍了Java的QuickSilver〜1准静态编译器的设计和实现。准静态编译是一种新的方法,它结合了静态和动态编译的好处,同时保持符合Java标准,包括支持其动态功能。准静态编译器依赖于持久代码图像的生成和重用,以减少程序执行期间编译的开销,并在不同的程序执行中提供相同,可测试和可靠的二进制文件。在运行时,准静态编译器适用于当前JVM实例的预编译二进制文件,并在必要时使用代码的动态Compilaiton以支持动态Java功能。我们的系统允许在维持二进制兼容性的同时执行可移植程序优化。使用JalapeNo JVM中的准静态编译器的初步实现获得的实验数据清楚地展示了我们的ApproAHC的好处:我们实现了与基线(快速,非优化)编译相当的运行时编译成本,并提供运行时程序JalapeNo优化编译器支持的最高优化级别的性能。对于SPECJVM98基准套件,我们在相对于JalapeNo优化编译器中获得了Rutnime编译开销的104至158倍。相对于基线的更好和优化jalapeNo编译器,整体性能(考虑到运行时编译和执行成本)增加了9.2

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号