Interpreting functions utilizing a hybrid of virtual and native machine instructions
Abstract
Systems and methods for increasing the execution speed of virtual machine instructions for a function are provided. A portion of the virtual machine instructions of the function are compiled into native machine instructions so that the function includes both virtual and native machine instructions. Execution of the native machine instructions may be accomplished by overwriting a virtual machine instruction of the function with a virtual machine instruction that specifies execution of the native machine instructions. Additionally, the original virtual machine instruction may be stored so that the original virtual machine instructions can be regenerated.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 16.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
In a computer system, a method for increasing the execution speed of virtual machine instructions at runtime, the method comprising: receiving a first virtual machine instruction; generating, at runtime, a new virtual machine instruction that represents or references one or more native instructions that can be executed instead of said first virtual machine instruction; and executing said new virtual machine instruction instead of said first virtual machine instruction.
- Claim 2Depends on #1
The method of claim 1 , further comprising overwriting a selected virtual machine instruction with a new virtual machine instruction, the new virtual machine instruction specifying execution of the at least one native machine instruction.
- Claim 3Depends on #2
The method of claim 2 , wherein the new virtual instruction includes a pointer to the at least one native machine instruction.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 16 total)
References Cited — Backward Prior Art (18)
Non-Patent Literature (5)
- Davidson, Jack W. et al., "Cint: A RISC Interpreter for the C programming language," ACM, pp. 189-198, Jun. 1987.
- Hsieh, Cheng-Hsueh et al., "Java Bytecode to Native Code Translation: The caffeine prototype and preliminary results," pp. 90-97, Dec. 1996.
- Kaufer, Stephen et al., "Saber-C, An Interpreter-based programming environment for the C language," USENIX, pp. 161-171, Jun. 1988.
- Lambright, H. Dan., "Java Bytecode Optimizations," pp. 206-210, Feb. 1997.
- Pittan Thomas, "Two-level Hybrid Interpreter/Native Code Execution for combined space time program efficiency," ACM, pp. 150-152, Jun. 1987.