Threaded Execution as a Dual to Native Code

被引:0
|
作者
Mason, Dave [1 ]
机构
[1] Toronto Metropolitan Univ, Toronto, ON, Canada
关键词
execution model; threaded execution;
D O I
10.1145/3594671.3594673
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Threaded execution has been used as a higher performance alternative to a byte-code interpreter, by utilizing hardware dispatch to replace software interpreter dispatch. Traditional JIT code is compiled from byte-code to native code for the current machine, with an even higher performance result. Unfortunately, when debugging is required for a method, most JIT-based interpreters discard the JIT code and revert to the byte-code interpreter. Additionally, switching between interpreted code and native code requires clever trampolines to bring the models into alignment. We describe a technique that maintains the threaded code and native code as parallel implementations of the program. This provides seamless transitions between the implementations and supports full debugging, while providing near full native execution performance.
引用
收藏
页码:7 / 11
页数:5
相关论文
共 50 条
  • [41] Reusable Execution Replay: Execution Record and Replay for Source Code Reuse
    Armaly, Ameer
    Ferris, Casey
    McMillan, Collin
    36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE COMPANION 2014), 2014, : 480 - 483
  • [42] Dual Execution for On the Fly Fine Grained Execution Comparison
    Kim, Dohyeong
    Kwon, Yonghwi
    Sumner, William N.
    Zhang, Xiangyu
    Xu, Dongyan
    ACM SIGPLAN NOTICES, 2015, 50 (04) : 325 - 338
  • [43] Binary code execution path based on symbolic and actual program execution
    Cui, Baojiang
    Guo, Pengfei
    Wang, Jianxin
    Qinghua Daxue Xuebao/Journal of Tsinghua University, 2009, 49 (SUPPL. 2): : 2186 - 2192
  • [44] Runtime Execution Monitoring (REM) to detect and prevent malicious code execution
    Department of Electrical Engineering, Princeton University, United States
    IEEE Computer Society; IEEE Circuits and Systems Society, 1600, 452-457 (2004):
  • [45] Runtime execution monitoring (REM) to detect and prevent malicious code execution
    Fiskiran, AM
    Lee, RB
    IEEE INTERNATIONAL CONFERENCE ON COMPUTER DESIGN: VLSI IN COMPUTERS & PROCESSORS, PROCEEDINGS, 2004, : 452 - 457
  • [46] Transforming execution-time boundable code into temporally predictable code
    Puschner, P
    DESIGN AND ANALYSIS OF DISTRIBUTED EMBEDDED SYSTEMS, 2002, 91 : 163 - 172
  • [47] Evaluating How Novices Utilize Debuggers and Code Execution to Understand Code
    Hassan, Mohammed
    Zeng, Grace
    Zilles, Craig
    20TH ANNUAL ACM CONFERENCE ON INTERNATIONAL COMPUTING EDUCATION RESEARCH, ICER 2024, VOL 1, 2024, : 65 - 83
  • [48] Symbolic Partial-Order Execution for Testing Multi-Threaded Programs
    Schemmel, Daniel
    Buening, Julian
    Rodriguez, Cesar
    Laprell, David
    Wehrle, Klaus
    COMPUTER AIDED VERIFICATION (CAV 2020), PT I, 2020, 12224 : 376 - 400
  • [49] Exposing Tunable Parameters in Multi-threaded Numerical Code
    Qasem, Apan
    Guo, Jichi
    Rahman, Faizur
    Yi, Qing
    NETWORK AND PARALLEL COMPUTING, 2010, 6289 : 46 - +
  • [50] Threaded Code Generation with a Meta-Tracing JIT Compiler
    Izawa, Yusuke
    Masuhara, Hidehiko
    Bolz-Tereick, Carl Friedrich
    Cong, Youyou
    JOURNAL OF OBJECT TECHNOLOGY, 2022, 21 (02):