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 条
  • [31] CACAO - A 64-bit Java']Java VM just-in-time compiler
    Krall, A
    Grafl, R
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1997, 9 (11): : 1017 - 1030
  • [32] An efficient online path profiling framework for Java']Java just-in-time compilers
    Yasue, T
    Suganuma, T
    Komatsu, H
    Nakatani, T
    12TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, PROCEEDINGS, 2003, : 148 - 158
  • [33] Effectiveness of cross-platform optimizations for a Java']Java Just-In-Time compiler
    Ishizaki, K
    Takeuchi, M
    Kawachiya, K
    Suganuma, T
    Gohda, O
    Inagaki, T
    Koseki, A
    Ogata, K
    Kawahito, M
    Yasue, T
    Ogasawara, T
    Onodera, T
    Komatsu, H
    Nakatani, T
    ACM SIGPLAN NOTICES, 2003, 38 (11) : 187 - 204
  • [34] Our experiences with optimizations in Sun's Java']Java Just-in-Time compilers
    da Silva, Anderson Faustino
    Costa, Vitor Santos
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2006, 12 (07) : 788 - 810
  • [35] Java']Java For Embedded Real-time Systems
    Shen, Yuan
    Xu, Wenbo
    DCABES 2008 PROCEEDINGS, VOLS I AND II, 2008, : 1282 - 1287
  • [36] On Java']JavaScript Ahead-of-Time Compilation Performance (Keynote)
    Serrano, Manuel
    PROCEEDINGS OF THE 19TH INTERNATIONAL CONFERENCE ON MANAGED PROGRAMMING LANGUAGES AND RUNTIMES, MPLR 2022, 2022, : 1 - 1
  • [37] Augmenting Java']JavaScript JIT with Ahead-of-Time Compilation
    Zhuykov, Roman
    Vardanyan, Vahagn
    Melnik, Dmitry
    Buchatskiy, Ruben
    Sharygin, Eugeniy
    TENTH INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION TECHNOLOGIES REVISED SELECTED PAPERS CSIT-2015, 2015, : 116 - 120
  • [38] Compiling Java']Java just in time
    Cramer, T
    Friedman, R
    Miller, T
    Seberger, D
    Wilson, R
    Wolczko, M
    IEEE MICRO, 1997, 17 (03) : 36 - 43
  • [39] VLaTTe:: a Java']Java just-in-time compiler for VLIW with fast scheduling and register allocation
    Kim, S
    Moon, SM
    Ebcioglu, K
    Altman, E
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2004, E87D (07): : 1712 - 1720
  • [40] Restrictions of Java']Java for embedded real-time systems
    Schoeberl, M
    SEVENTH IEEE INTERNATIONAL SYMPOSIUM ON OBJECT-ORIENTED REAL-TIME DISTRIBUTED COMPUTING, PROCEEDINGS, 2004, : 93 - 100