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 条
  • [31] PGF: A portable run-time format for type-theoretical grammars
    Angelov K.
    Bringert B.
    Ranta A.
    Journal of Logic, Language and Information, 2010, 19 (2) : 201 - 228
  • [32] Tulip: A portable run-time system for object-parallel systems
    Beckman, P
    Gannon, D
    10TH INTERNATIONAL PARALLEL PROCESSING SYMPOSIUM - PROCEEDINGS OF IPPS '96, 1996, : 532 - 536
  • [33] Automatic, template-based run-time specialization: Implementation and experimental study
    Noel, F
    Hornof, L
    Consel, C
    Lawall, JL
    1998 INTERNATIONAL CONFERENCE ON COMPUTER LANGUAGES, PROCEEDINGS, 1998, : 132 - 142
  • [34] Hybrid Genetic Reinforcement Learning for Generating Run-Time Requirement Enforcers
    Spieck, Jan
    Sixdenier, Pierre-Louis
    Esper, Khalil
    Wildermann, Stefan
    Teich, Juergen
    2023 21ST ACM-IEEE INTERNATIONAL SYMPOSIUM ON FORMAL METHODS AND MODELS FOR SYSTEM DESIGN, MEMOCODE, 2023, : 23 - 35
  • [35] Generating run-time progress reports for a points-to analysis in Eclipse
    Ohio State University
    Proc. OOPSLA Workshop Eclipse Technol. EXT, (40-44):
  • [36] Generating Java']JavaScript from Perl - Simple run-time code generation improves web-based UIs
    Jenkins, SB
    DR DOBBS JOURNAL, 2002, 27 (05): : 59 - 63
  • [37] Hardware-Based Run-Time Code Integrity in Embedded Devices
    Wehbe, Taimour
    Mooney, Vincent
    Keezer, David
    CRYPTOGRAPHY, 2018, 2 (03) : 1 - 18
  • [38] Automated Code Synthesis for Run-Time Verification of Distributed Embedded Systems
    Majzik, Istvan
    Horanyi, Gergo
    12TH SYMPOSIUM ON PROGRAMMING LANGUAGES AND SOFTWARE TOOLS, SPLST' 11, 2011, : 161 - 172
  • [39] Jumbo: Run-time code generation for Java']Java and its applications
    Kamin, S
    Clausen, L
    Jarvis, A
    CGO 2003: INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION, 2003, : 48 - 56
  • [40] A run-time adaptive and code-size efficient XML parser
    Zhou Yanming
    Qu Mingbin
    30TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATIONS CONFERENCE, VOL 2, SHORT PAPERS/WORKSHOPS/FAST ABSTRACTS/DOCTORAL SYMPOSIUM, PROCEEDINGS, 2006, : 18 - +