Updating compiled native instruction paths
Abstract
Systems and methods for executing non-native instructions in a computing system having a processor configured to execute native instructions are provided. A dynamic translator uses instruction code translation in parallel with just-in-time (JIT) compilation to execute the non-native instructions. Non-native instructions may be interpreted to generate instruction codes, which may be stored in a shadow memory. During a subsequent scheduling of a non-native instruction for execution, the corresponding instruction code may be retrieved from the shadow memory and executed, thereby avoiding reinterpreting the non-native instruction. In addition, the JIT compiler may compile instruction codes to generate native instructions, which may be made available for execution, further speeding up the execution process. A system implementing the aforementioned translator may improve performance and speed associated with executing non-native instructions by optimizing the use of instruction codes and JIT-compiled native instructions corresponding to the instruction codes when executing the non-native instructions.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 25 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for updating compiled native instruction paths, comprising: interpreting a non-native instruction to generate an instruction code; compiling the instruction code to generate a native instruction corresponding to the non-native instruction; detecting a modification to the instruction code; invalidating a native code fragment associated with the instruction code upon detecting the modification to the instruction code; reinterpreting the non-native instruction to regenerate the instruction code and generate an updated instruction code; and replacing a branch address pointed to by the mod
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (25)
Non-Patent Literature (4)
- Jason Ansel et al., Language-Independent Sandboxing of Just-In-Time Compilation and Self-Modifying Code, ACM, 2011, retrieved online on Aug. 9, 2016, pp. 1-12. Retrieved from the Internet: .
- Jason Ansel et al., Language-Independent Sandboxing of Just-In-Time Compilation and Self-Modifying Code, ACM, 2011, retrieved online on Aug. 9, 2016, pp. 1-12. Retrieved from the Internet: <URL: http://static.googleusercontent.com/media/research.google.com/en//pubs/archive/37204.pdf>.
- Per Gustafsson and Konstantinos Sagonas, Native code compilation of Erglang's bit syntax, ACM 2002, retrieved online on Aug. 9, 2016, pp. 1-10. Retrieved from the Internet: .
- Per Gustafsson and Konstantinos Sagonas, Native code compilation of Erglang's bit syntax, ACM 2002, retrieved online on Aug. 9, 2016, pp. 1-10. Retrieved from the Internet: <URL: http://delivery.acm.org/10.1145/600000/592851/p6-gustafsson.pdf?>.