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 条
  • [21] Design and Implementation of Java Just-in-Time Compiler
    丁宇新
    梅嘉
    程虎
    Journal of Computer Science and Technology, 2000, (06) : 584 - 590
  • [22] Design and implementation of Java just-in-time compiler
    Yuxin Ding
    Jia Mei
    Hu Cheng
    Journal of Computer Science and Technology, 2000, 15 : 584 - 590
  • [23] Just-in-time optimizations for high-performance Java']Java programs
    Cierniak, M
    Li, W
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1997, 9 (11): : 1063 - 1073
  • [24] Design and evaluation of dynamic optimizations for a Java']Java Just-In-Time compiler
    Suganuma, T
    Yasue, T
    Kawahito, M
    Komatsu, H
    Nakatani, T
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2005, 27 (04): : 732 - 785
  • [25] Ahead-of-time compilation of Java']JavaScript programs
    Zhuykov, R.
    Sharygin, E.
    PROGRAMMING AND COMPUTER SOFTWARE, 2017, 43 (01) : 51 - 59
  • [26] Automatically reducing repetitive synchronization with a just-in-time compiler for Java']Java
    Stoodley, M
    Sundaresan, V
    CGO 2005: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2005, : 27 - 36
  • [27] Design, implementation, and evaluation of optimizations in a Java']Java™ Just-in-Time compiler
    Ishizaki, K
    Kawahito, M
    Yasue, T
    Takeuchi, M
    Ogasawara, T
    Suganuma, T
    Onodera, T
    Komatsu, H
    Nakatani, T
    CONCURRENCY-PRACTICE AND EXPERIENCE, 2000, 12 (06): : 457 - 475
  • [28] Client ahead-of-time compiler for embedded Java']Java platforms
    Hong, Sunghyun
    Kim, Jin-Chul
    Moon, Soo-Mook
    Shin, Jin Woo
    Lee, Jaemok
    Oh, Hyeong-Seok
    Choi, Hyung-Kyu
    SOFTWARE-PRACTICE & EXPERIENCE, 2009, 39 (03): : 259 - 278
  • [29] Evolution of a Java']Java just-in-time compiler for IA-32 platforms
    Suganuma, T
    Ogasawara, T
    Kawachiya, K
    Takeuchi, M
    Ishizaki, K
    Koseki, A
    Inagaki, T
    Yasue, T
    Kawahito, M
    Onodera, T
    Komatsu, H
    Nakatani, T
    IBM JOURNAL OF RESEARCH AND DEVELOPMENT, 2004, 48 (5-6) : 767 - 795
  • [30] Dynamic path profile aided recompilation in a JAVA']JAVA just-in-time compiler
    Kumar, RV
    Narayanan, BL
    Govindarajan, R
    HIGH PERFORMANCE COMPUTING - HIPC 2002, PROCEEDINGS, 2002, 2552 : 495 - 505