首页> 外文期刊>Journal of Circuits, Systems, and Computers >HYBRID JAVA COMPILATION OF JUST-IN-TIME AND AHEAD-OF TIME FOR EMBEDDED SYSTEMS
【24h】

HYBRID JAVA COMPILATION OF JUST-IN-TIME AND AHEAD-OF TIME FOR EMBEDDED SYSTEMS

机译:嵌入式系统的准时和提前混合混合Java编译

获取原文
获取原文并翻译 | 示例

摘要

Many embedded Java software platforms execute two types of Java classes: those installed statically on the client device and those downloaded dynamically from service providers at runtime. For higher performance, it would be desirable to compile static Java classes by ahead-of-time compiler (AOTC) and to handle dynamically downloaded classes by just-in-time compiler (JITC), providing a hybrid compilation environment. This paper proposes a hybrid Java compilation approach and performs an initial case study with a hybrid environment, which is constructed simply by merging an existing AOTC and a JITC for the same Java virtual machine. Both compilers are developed independently for their own performance advantages with a generally accepted approach of compilation, but we merged them as efficiently as possible. Contrary to our expectations, the hybrid environment does not deliver a performance, in-between of full-JITC's and full-AOTC's. In fact, its performance is even lower than full-JITC's for many benchmarks. We analyzed the result and found that a naive merge of JITC and AOTC may result in inefficiencies, especially due to calls between JITC methods and AOTC methods. Based on these observations, we propose some ideas to reduce such a call overhead. We also observed that the distribution of JITC methods and AOTC methods is also important, and experimented with various distributions to understand when a hybrid environment can deliver a desired performance. Finally, we discuss how JITC and AOTC should be designed for efficient hybrid execution.
机译:许多嵌入式Java软件平台执行两种类型的Java类:那些静态安装在客户端设备上的Java类,以及那些在运行时从服务提供商动态下载的Java类。为了获得更高的性能,希望通过提前编译器(AOTC)编译静态Java类,并通过及时编译器(JITC)处理动态下载的类,从而提供混合编译环境。本文提出了一种混合Java编译方法,并在混合环境中进行了初始案例研究,该环境是通过简单地将现有AOTC和JITC合并到同一Java虚拟机而构建的。两种编译器都是通过公认的编译方法独立开发的,以发挥其自身的性能优势,但是我们尽可能高效地合并了它们。与我们的期望相反,混合环境无法在完整的JITC和完整的AOTC之间提供性能。实际上,对于许多基准测试,其性能甚至低于完整的JITC。我们分析了结果,发现JITC和AOTC的天真的合并可能会导致效率低下,特别是由于JITC方法和AOTC方法之间的调用。基于这些观察,我们提出了一些减少这种呼叫开销的想法。我们还观察到JITC方法和AOTC方法的分布也很重要,并尝试了各种分布以了解混合环境何时可以提供所需的性能。最后,我们讨论如何设计JITC和AOTC以实现有效的混合执行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号