Modulating dynamic optimizations of a computer program
Abstract
Systems and methods for modulating dynamic optimizations of a computer program are disclosed. One method includes receiving an intermediate representation (IR) of machine executable instructions, optimizing the received IR to generate a first optimized IR prior to the machine executable instructions being generated by a runtime compiler, optimizing the received IR to generate two or more alternative optimizations for the IR, wherein the two or more alternative optimizations generating two or more optimized IRs are optimized at different optimization points based at least in part on information generated during execution of the first optimized IR in a runtime environment different optimization strategies, and modulating between the two or more alternative optimizations for the IR to use different ones of the alternative optimizations during execution of the machine executable instructions at a frequency based at least in part on a degree of difference between the two or more optimized IRs.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: receiving an intermediate representation (IR) of machine executable instructions; optimizing the received IR to generate a first optimized IR prior to the machine executable instructions being generated by a runtime compiler; generating two or more alternative optimized IRs which are optimized at different optimization points based at least in part on information generated during execution of the first optimized IR in a runtime environment, wherein one of the two or more alternative optimized IRs is randomly optimized at a predetermined percentage below a full optimization
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 (33)
Non-Patent Literature (5)
- ".NET Downloads, Developer Resources & Case Studies," accessed at https://web.archive.org/web/20120610232519/http://www.microsoft.com/net/, accessed on Jan. 8, 2015, 2 pages.
- Albonesi, Selective cache ways: on-demand cache resource allocation, Proceedings of the International Symposium on Microarchitecture, pp. 248-259, IEEE Computer Society, Washington DC, USA, Nov. 1999.
- Bala, et al, Dynamo: A transparent dynamic optimization system, PLDI '00 Proceedings of the ACM SIGPLAN 2000 Conference on Programming Language Design and Implementation, pp. 1-12, Jun. 2000, New York, NY, USA.
- Baraz, et al, "IA-32 execution layer: a two-phase dynamic translator designed to support IA-32 applications on Itanium® -based systems", Proceedings of the 36th Annual IEEE/ACM International Symposium on Microarchitecture (MICRO-36 2003), pp. 191-201, IEEE Computer Society, Washington DC, USA, Dec.
- Dehnert, et al, The Transmeta Code Morphing software: using speculation, recovery, and adaptive retranslation to address real-life challenges, Proceedings of the 1st Annual IEEE/ACM International Symposium on Code Generation and Optimization, Mar. 27-29, 2003, pp. 1-10, San Francisco, CA, USA.