A portable approach to dynamic optimization in run-time specialization

被引:0
|
作者
Hidehiko Masuhara
Akinori Yonezawa
机构
[1] University of Tokyo,Department of Graphics and Computer Science Graduate School of Arts and Sciences
[2] University of Tokyo,Department of Computer Science
来源
New Generation Computing | 2002年 / 20卷
关键词
Program Specialization; Partial Evaluation; Run-time Code Generation; Just-In-Time Compilation; Java Virtual Machine Language; Intermediate Language;
D O I
暂无
中图分类号
学科分类号
摘要
This paper proposes arun-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 canoptimize the specialized programs after specialization. The system uses Java virtual machine language (JVML) as the intermediate language, which allows the system to easily achieve practicalportability and to use existing sophisticated just-in-time (JIT) compilers as its back-end. The binding-time analysis algorithm is based on a type system, and covers a non-object-oriented subset of JVML. The specializer generates programs on a per-instruction basis, and can performmethod inlining at run-time. Our performance measurements show 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 overhead of JIT compilation of specialized code, we observed that the overall performance of the application can be improved.
引用
收藏
页码:101 / 124
页数:23
相关论文
共 50 条
  • [1] A portable approach to dynamic optimization in run-time specialization
    Masuhara, H
    Yonezawa, A
    [J]. NEW GENERATION COMPUTING, 2002, 20 (01) : 101 - 124
  • [2] Run-time bytecode specialization - A portable approach to generating optimized specialized code
    Masuhara, H
    Yonezawa, A
    [J]. PROGRAMS AS DATA OBJECTS, PROCEEDINGS, 2001, 2053 : 138 - 154
  • [3] Dynamic compilation of a reflective language using run-time specialization
    Masuhara, H
    Sugita, Y
    Yonezawa, A
    [J]. INTERNATIONAL SYMPOSIUM ON PRINCIPLES OF SOFTWARE EVOLUTION, PROCEEDINGS, 2000, : 128 - 137
  • [4] Using Apache portable run-time
    Bloom, R
    [J]. DR DOBBS JOURNAL, 2000, 25 (10): : 100 - +
  • [5] Run-time optimization using dynamic performance prediction
    Alkindi, AM
    Kerbyson, DJ
    Papaefstathiou, E
    Nudd, GR
    [J]. HIGH PERFORMANCE COMPUTING AND NETWORKING, PROCEEDINGS, 2000, 1823 : 280 - 289
  • [6] Efficient incremental run-time specialization for free
    Marlet, R
    Consel, C
    Boinot, P
    [J]. ACM SIGPLAN NOTICES, 1999, 34 (05) : 281 - 292
  • [7] A method for fast hardware specialization at run-time
    Bruneel, Karel
    Bertels, Peter
    Stroobandt, Dirk
    [J]. 2007 INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS, PROCEEDINGS, VOLS 1 AND 2, 2007, : 35 - 40
  • [8] DYNAMIC RUN-TIME STRUCTURES
    KING, T
    [J]. DR DOBBS JOURNAL, 1988, 13 (11): : 50 - &
  • [9] Portable run-time support for dynamic object-oriented parallel processing
    Grimshaw, AS
    Weissman, JB
    Strayer, WT
    [J]. ACM TRANSACTIONS ON COMPUTER SYSTEMS, 1996, 14 (02): : 139 - 170
  • [10] Annotation-directed run-time specialization in C
    Grant, B
    Mock, M
    Philipose, M
    Chambers, C
    Eggers, SJ
    [J]. ACM SIGPLAN NOTICES, 1997, 32 (12) : 163 - 178