发明名称 AUTOMATED ADAPTIVE COMPILER OPTIMIZATION
摘要 Embodiments of the invention provide systems and methods for automatically and adaptively optimizing compilation of application code using a rule-based optimization analyzer (RUBOA) that can command a compiler to apply and adapt optimizations at the code segment level according to gathered performance data. For example, source code can be canonically compiled, and annotations can associate compiled code sections with source code sections. The generated binary can then be executed and monitored to gather performance characteristics. The RUBOA can apply the gathered performance characteristics and annotations to a pre-defined rule set to generate compiler optimizations, each associated with and parametrically tailored to respective source code segments. The RUBOA can automatically generate optimization control data from the generated compiler optimizations, and the source application code can be re-compiled according to the set of optimization control data to generate executable code that is adaptively optimized at the code segment level.
申请公布号 US2016085528(A1) 申请公布日期 2016.03.24
申请号 US201414492743 申请日期 2014.09.22
申请人 ORACLE INTERNATIONAL CORPORATION 发明人 KALOGEROPULOS SPIROS;TIRUMALAI PARTHA
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项 1. A method for automated rule-based compiling optimization, the method comprising: first compiling source code to generate first compiled code and a set of annotations that associate code segments of the first compiled code with code segments of the source code; executing the first compiled code and monitoring the execution to generate performance characteristics associated with the code segments of the source code according to the annotations; analyzing the performance characteristics according to a set of predefined optimization rules to associate each of a set of the code segments of the source code with a selected compiler optimization; generating optimization control data comprising instructions that each defines one of the selected compiler optimizations and its associated code segment of the source code; and second compiling the source code to generate second compiled code under direction of the optimization control data.
地址 Redwood City CA US