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

被引:0
|
作者
Oh, Hyeong-Seok [1 ]
Moon, Soo-Mook [1 ]
Jung, Dong-Heon [1 ]
机构
[1] Seoul Natl Univ, Sch Elect Engn & Comp Sci, Seoul 151742, South Korea
基金
新加坡国家研究基金会;
关键词
Hybrid [!text type='Java']Java[!/text] compilation; ahead-of-time compiler; just-in-time compiler; JVM; VIRTUAL MACHINE;
D O I
10.1142/S0218126612400014
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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 effciently 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 ineffciencies, 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.
引用
收藏
页数:22
相关论文
共 50 条
  • [1] Just-in-time Java']Java™ compilation for the Itanium® processor
    Shpeisman, T
    Lueh, GY
    Adl-Tabatabai, AR
    2002 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 2002, : 249 - 258
  • [2] Efficient Java']Java exception handling in just-in-time compilation
    Lee, SI
    Yang, BS
    Moon, SM
    SOFTWARE-PRACTICE & EXPERIENCE, 2004, 34 (15): : 1463 - 1480
  • [3] Efficient Java']JavaVM just-in-time compilation
    Krall, A
    1998 INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 1998, : 205 - 212
  • [4] A region-based compilation technique for a Java']Java just-in-time compiler
    Suganuma, T
    Yasue, T
    Nakatani, T
    ACM SIGPLAN NOTICES, 2003, 38 (05) : 312 - 323
  • [5] Hybrid Execution: Combining Ahead-of-Time and Just-in-Time Compilation
    Pichler, Christoph
    Li, Paley
    Schatz, Roland
    Mössenböck, Hanspeter
    VMIL 2023 - Proceedings of the 15th ACM SIGPLAN International Workshop on Virtual Machines and Intermediate Languages, Co-located with: SPLASH 2023, 2023, : 39 - 49
  • [6] Enhanced hot spot detection heuristics for embedded java']java just-in-time compilers
    Lee, Seong-Won
    Moon, Soo-Mook
    Kim, Seong-Moo
    ACM SIGPLAN NOTICES, 2008, 43 (07) : 13 - 22
  • [7] Overview of the IBM Java']Java just-in-time compiler
    Suganuma, T
    Ogasawara, T
    Takeuchi, M
    Yasue, T
    Kawahito, M
    Ishizaki, K
    Komatsu, H
    Nakatani, T
    IBM SYSTEMS JOURNAL, 2000, 39 (01) : 175 - 193
  • [8] Java']Java Client Ahead-of-Time Compiler for Embedded Systems
    Hong, Sunghyun
    Kim, Jin-Chul
    Shin, Jin Woo
    Moon, Soo-Mook
    Oh, Hyeong-Seok
    Lee, Jaemok
    Choi, Hyung-Kyu
    LCTES'07: PROCEEDINGS OF THE 2007 ACM SIGPLAN-SIGBED CONFERENCE ON LANGUAGES, COMPILERS, AND TOOLS FOR EMBEDDED SYSTEMS, 2007, : 63 - 72
  • [9] Java']Java client ahead-of-time compiler for embedded systems
    Hong, Sunghyun
    Kim, Jin-Chul
    Shin, Jin Woo
    Moon, Soo-Mook
    Oh, Hyeong-Seok
    Lee, Jaemok
    Choi, Hyung-Kyu
    ACM SIGPLAN NOTICES, 2007, 42 (07) : 63 - 72
  • [10] Design and implementation of Java']Java just-in-time compiler
    Ding, YX
    Mei, J
    Cheung, H
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2000, 15 (06) : 584 - 590