Java']Java Client Ahead-of-Time Compiler for Embedded Systems

被引:0
作者
Hong, Sunghyun [1 ]
Kim, Jin-Chul [1 ]
Shin, Jin Woo [1 ]
Moon, Soo-Mook [1 ]
Oh, Hyeong-Seok [1 ]
Lee, Jaemok [1 ]
Choi, Hyung-Kyu [1 ]
机构
[1] Seoul Natl Univ, Sch Elect Engn & Comp Sci, Seoul 151742, South Korea
来源
LCTES'07: PROCEEDINGS OF THE 2007 ACM SIGPLAN-SIGBED CONFERENCE ON LANGUAGES, COMPILERS, AND TOOLS FOR EMBEDDED SYSTEMS | 2007年
关键词
!text type='Java']Java[!/text] ahead-of-time compiler; just-in-time compiler; relocation; early binding; !text type='Java']Java[!/text] virtual machine; J2ME CDC;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
The performance of embedded Java virtual machine can be improved by ahead-of-time compiler (AOTC), which translates bytecode into machine code in the server and installs the machine code on the client device. Although AOTC is more advantageous than Just-in-time compiler (JITC) due to its absence of the translation overhead, AOTC cannot be applicable to dynamically downloaded classes at runtime. This paper proposes client-AOTC (c-AOTC) which performs AOTC on the client device using the JITC module installed oil the device, complementing the server-AOTC. The machine code of a method translated by JITC is cached on a persistent memory of the device, and when the method is invoked again in a later run of the program, the machine code is loaded and executed directly without the translation and interpretation overhead. One of major issues in c-AOTC is relocation because some of the addresses used by the cached machine code are not correct when the machine code is loaded and used in a different run; those addresses should be corrected before they are used. Constant pool resolution and inlining complicate the relocation problem and we propose our solutions. We developed a c-AOTC oil Sun's CDC VM reference implementation (RI) and Our evaluation results indicate that c-AOTC call improve the performance significantly, as much as an average of 12%. We also experiment with the issue of reducing the number of c-AOTC methods to be cached when the persistent space is light, with a graceful degradation of performance.
引用
收藏
页码:63 / 72
页数:10
相关论文
共 12 条
  • [1] 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
  • [2] 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
  • [3] HYBRID JAVA']JAVA COMPILATION OF JUST-IN-TIME AND AHEAD-OF TIME FOR EMBEDDED SYSTEMS
    Oh, Hyeong-Seok
    Moon, Soo-Mook
    Jung, Dong-Heon
    JOURNAL OF CIRCUITS SYSTEMS AND COMPUTERS, 2012, 21 (02)
  • [4] A selective ahead-of-time compiler on android device
    Lim, Yeong-Kyu
    Parambil, Sharfudheen
    Kim, Cheong-Ghil
    Lee, See-Hyung
    2012 International Conference on Information Science and Applications, ICISA 2012, 2012,
  • [5] A Method-Based Ahead-of-Time Compiler for Android Applications
    Wang, Chih-Sheng
    Perez, Guillermo A.
    Chung, Yeh-Ching
    Hsu, Wei-Chung
    Shih, Wei-Kuan
    Hsu, Hong-Rong
    PROCEEDINGS OF THE PROCEEDINGS OF THE 14TH INTERNATIONAL CONFERENCE ON COMPILERS, ARCHITECTURES AND SYNTHESIS FOR EMBEDDED SYSTEMS (CASES '11), 2011, : 15 - 24
  • [6] 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
  • [7] 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
  • [8] 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
  • [9] Design and Implementation of Java Just-in-Time Compiler
    丁宇新
    梅嘉
    程虎
    Journal of Computer Science and Technology, 2000, (06) : 584 - 590
  • [10] 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