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 条
  • [1] THREADED CODE
    BELL, JR
    COMMUNICATIONS OF THE ACM, 1973, 16 (06) : 370 - 372
  • [2] ANALYSIS OF MULTI-THREADED CODE EXECUTION ON SMALL MULTI-CORE ARCHITECTURES
    Sgroi, Kevin J.
    Spetka, Scott E.
    PROCEEDINGS OF THE ASME INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE, DETC 2010, VOL 3, A AND B, 2010, : 807 - 814
  • [3] Threaded runtime support for execution of fine grain parallel code on coarse grain multiprocessors
    Neves, R
    Schnabel, RB
    JOURNAL OF PARALLEL AND DISTRIBUTED COMPUTING, 1997, 42 (02) : 128 - 142
  • [4] Efficient instruction cache simulation find execution profiling with a threaded-code interpreter
    Magnusson, PS
    PROCEEDINGS OF THE 1997 WINTER SIMULATION CONFERENCE, 1997, : 1093 - 1100
  • [5] Threaded Multiple Path Execution
    Wallace, S
    Calder, B
    Tullsen, DM
    25TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, PROCEEDINGS, 1998, : 238 - 249
  • [6] INDIRECT THREADED CODE
    DEWAR, RBK
    COMMUNICATIONS OF THE ACM, 1975, 18 (06) : 330 - 331
  • [7] Threaded code abstractions
    Rible, J
    PORTABLE SOFTWARE - 1997 ROCHESTER FORTH CONFERENCE, 1998, : 68 - 69
  • [8] THREADED CODE FOR LABORATORY COMPUTERS
    PHILLIPS, JB
    BURKE, MF
    WILSON, GS
    SOFTWARE-PRACTICE & EXPERIENCE, 1978, 8 (03): : 257 - 263
  • [9] SEGMENT-THREADED CODE.
    Berkey, Robert
    1600, (02):
  • [10] AN EVALUATION OF OPTIMIZED THREADED CODE GENERATION
    ROH, L
    NAJJAR, WA
    SHANKAR, B
    BOHM, APW
    PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES, 1994, 50 : 37 - 46