首页> 外文会议>Symposium on Programs as Data Objects >Run-Time Bytecode Specialization A Portable Approach to Generating Optimized Specialized Code
【24h】

Run-Time Bytecode Specialization A Portable Approach to Generating Optimized Specialized Code

机译:运行时字节码专门为生成优化专用代码的便携式方法

获取原文

摘要

This paper proposes a run-time bytecode specialization (BCS) technique that analyzes programs and generates specialized programs at run-time in an intermediate language. By using an intermediate language for code generation, a back-end system can optimize the specialized programs after specialization. As the intermediate language, the system uses Java virtual machine language (JVML), which allows the system to easily achieve practical portability and to use sophisticated just-in-time compilers as its back-end. The binding-time analysis algorithm, which is based on a type system, covers a non-object-oriented subset of JVML. A specializer, which generates programs on a per-instruction basis, can perform method inlining at run-time. The performance measurement showed that a non-trivial application program specialized at run-time by BCS runs approximately 3-4 times faster than the unspecialized one. Despite the large amount of overheads at JIT compilation of specialized code, we observed that the overall performance of the application can be improved.
机译:本文提出了一种运行时分析程序的经运行时间字节码专业化(BCS)技术,并在中间语言中在运行时生成专用程序。通过使用用于代码生成的中间语言,后端系统可以在专业化后优化专业程序。作为中间语言,系统使用Java虚拟机语言(JVML),这允许系统轻松实现实际的可移植性,并使用复杂的立即编译器作为其后端。基于类型系统的绑定时间分析算法涵盖了非对象导向的JVML子集。一个专业器,它以每条指令为基础生成程序,可以在运行时执行方法内联。性能测量表明,BCS专用于运行时的非普通应用程序比未专业化的速度快约3-4倍。尽管JIT汇编的专业代码汇编了大量的开销,但我们观察到申请的整体性能可以得到改善。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号