Run-time bytecode specialization - A portable approach to generating optimized specialized code

被引:0
|
作者
Masuhara, H [1 ]
Yonezawa, A [1 ]
机构
[1] Univ Tokyo, Grad Sch Arts & Sci, Dept Graph & Comp Sci, Tokyo, Japan
来源
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper proposes a run-time bytecode specialization (BCS) technique that analyzes programs and generates specialized programs at run-time in an intermediate language. By using an intermediate language for code generation, a back-end system can optimize the specialized programs after specialization. As the intermediate language, the system uses Java virtual machine language (JVML), which allows the system to easily achieve practical portability and to use sophisticated just-in-time compilers as its back-end. The binding-time analysis algorithm, which is based on a type system, covers a non-object-oriented subset of JVML. A specializer, which generates program on a per-instruction basis, can perform method inlining at run-time. The performance measurement showed that a non-trivial application program specialized at run-time by BCS runs approximately 3-4 times faster than the unspecialized one. Despite the large amount of overheads at JIT compilation of specialized code, we observed that the overall performance of the application can be improved.
引用
下载
收藏
页码:138 / 154
页数:17
相关论文
共 50 条
  • [1] A portable approach to dynamic optimization in run-time specialization
    Masuhara, H
    Yonezawa, A
    NEW GENERATION COMPUTING, 2002, 20 (01) : 101 - 124
  • [2] A portable approach to dynamic optimization in run-time specialization
    Hidehiko Masuhara
    Akinori Yonezawa
    New Generation Computing, 2002, 20 : 101 - 124
  • [4] A Hierarchical Specialization Approach for Generating Optimized Sorting Code
    Minhaj Ahmad Khan
    Arabian Journal for Science and Engineering, 2014, 39 : 7039 - 7048
  • [5] Run-time Compilation of Bytecode in Sensor Networks
    Ellul, Joshua
    Martinez, Kirk
    2010 FOURTH INTERNATIONAL CONFERENCE ON SENSOR TECHNOLOGIES AND APPLICATIONS (SENSORCOMM), 2008, : 133 - 138
  • [6] Using Apache portable run-time
    Bloom, R
    DR DOBBS JOURNAL, 2000, 25 (10): : 100 - +
  • [7] Efficient incremental run-time specialization for free
    Marlet, R
    Consel, C
    Boinot, P
    ACM SIGPLAN NOTICES, 1999, 34 (05) : 281 - 292
  • [8] A method for fast hardware specialization at run-time
    Bruneel, Karel
    Bertels, Peter
    Stroobandt, Dirk
    2007 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS, VOLS 1 AND 2, 2007, : 35 - 40
  • [9] Run-Time Code Generation for Materials
    Reiter, Stephan
    RT08: IEEE/EG SYMPOSIUM ON INTERACTIVE RAY TRACING 2008, PROCEEDINGS, 2008, : 188 - 188
  • [10] Routine run-time code generation
    Kamin, S
    ACM SIGPLAN NOTICES, 2003, 38 (12) : 44 - 56