- 专利标题: Enhancing program execution using optimization-driven inlining
-
申请号: US15917482申请日: 2018-03-09
-
公开(公告)号: US10261765B1公开(公告)日: 2019-04-16
- 发明人: Aleksandar Prokopec , Thomas Wuerthinger
- 申请人: ORACLE INTERNATIONAL CORPORATION
- 申请人地址: US CA Redwood Shores
- 专利权人: Oracle International Corporation
- 当前专利权人: Oracle International Corporation
- 当前专利权人地址: US CA Redwood Shores
- 代理机构: Ferguson Braswell Fraser Kubasta PC
- 主分类号: G06F9/45
- IPC分类号: G06F9/45 ; G06F8/41 ; G06F8/30
摘要:
Optimizing program execution includes performing, to obtain a first expanded call graph, a first expansion of an initial call graph. The first initial call graph is defined for a program that includes a root method, a first child method, and a second child method. Based on an analysis of the first expanded call graph, the first child method, corresponding to a node in the first expanded call graph, is inlined into the root method. An optimization operation is performed in response to inlining the child method, and the first expanded call graph is updated based on the optimization operation. A second expansion of the updated call graph is performed. Based on an analysis of the second expanded call graph, the second child method is inlined into the root method, where the second child method corresponds to a node in the second expanded call graph. Compilation of the program is completed.
信息查询