Adaptive code through self steered execution
Abstract
A method and mechanism for producing and executing self-steering program code. A method comprises analyzing program code and identifying portions which may be amenable to optimization. Having identified such a portion of code, at least one optimized version of the identified code is added to the program code. Additionally, a selection mechanism is added to the program code which is configured to select between two or more versions of the portion of code during runtime. The modified program code is then compiled with the added optimized version and the selection mechanism. During execution, monitoring of behavior of the code may be enabled or disabled. Based upon such monitored behavior, a different version of the code may be selected for execution. Various optimized versions may be selected for execution in a manner which takes advantage of the current behavior of the program.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 15 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method executable in a computing system for generating self-steering executable code, the method comprising: analyzing program code; identifying a non-optimized portion of code in the program code; adding at least one optimized version of the non-optimized portion to the program code while retaining the non-optimized portion in the program code; adding a monitoring mechanism to the program code which is configured to monitor a behavior of the non-optimized portion of code; adding a selection mechanism to the program code, said selection mechanism being configured to select between two or mor
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (15)
Non-Patent Literature (5)
- "ACME: adaptive compilation made efficient", Cooper et al., Jul. 2005, pp. 69-77, .
- "ACME: adaptive compilation made efficient", Cooper et al., Jul. 2005, pp. 69-77, <http://delivery.acm.org/10.1145/1070000/1065921/p69-cooper.pdf>.
- "Compiler optimization of embedded applications for an adaptive SoC architecture", Hardnett et al., Oct. 2006, pp. 312-322, .
- "Compiler optimization of embedded applications for an adaptive SoC architecture", Hardnett et al., Oct. 2006, pp. 312-322, <http://delivery.acm.org/10.1145/1180000/1176798/p312-hardnett.pdf>.
- "Design and evaluation of dynamic optimizations for a Java just-in-time compiler", Suganuma et al., Jul. 2005, pp. 732-785, .