• DocumentCode
    2523911
  • Title

    Design a High-Performance Just-In-Time Compiler for a J2ME JVM on XScale

  • Author

    Shi, Xiaohua ; Jin, Maozhong ; Cheng, Bu Qi ; Guo, Peng

  • Author_Institution
    Sch. of Comput. Sci., Beihang Univ., Beijing
  • fYear
    2008
  • fDate
    29-31 July 2008
  • Firstpage
    439
  • Lastpage
    446
  • Abstract
    The just-in-time compilers have been widely adopted in J2SE and J2ME virtual machines. However, it is a big challenge for a JIT compiler to generate high-quality native code under the tight time and memory constraints on embedded systems. This paper presents the framework and key optimizations of a JIT compiler we designed for Intelpsilas J2ME virtual machine, namely XORP, for XScaletrade architecture. We describe the bytecode-based optimizations, e.g. bytecode inlining, Array Bounds Check Elimination, Null Pointer Check Elimination, etc., and some key optimizations aimed at XScaletrade architecture, e.g. instruction scheduling, etc., in the XORP JIT. XORP is more than 15 times faster than the reference implementation of J2ME CLDC, KVM, for EEMBC, with a 350KB executable file, including interpreter, JIT compiler, GC and all other JVM components. Comparing with other high-performance J2ME JVMs, like JeodeK and CLDC-HI, XORP is also at least 69% faster than them.
  • Keywords
    program compilers; virtual machines; J2ME; J2SE; bytecode-based optimizations; embedded systems; high-performance just-in-time compiler; high-quality native code; virtual machines; Computer science; Embedded software; Embedded system; Java; Memory management; Optimizing compilers; Program processors; Runtime; Time factors; Virtual machining; J2ME; Java Virtual Machine; Just-In-Time Compiler;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Embedded Software and Systems, 2008. ICESS '08. International Conference on
  • Conference_Location
    Sichuan
  • Print_ISBN
    978-0-7695-3287-5
  • Type

    conf

  • DOI
    10.1109/ICESS.2008.55
  • Filename
    4595594