Invention Grant
US09244666B2 Globally inline a callee with high cost-effectiveness on the basis only of profile information in a call graph
有权
只有在通话图中的配置文件信息的基础上,全球内部具有高成本效益的被调用者
- Patent Title: Globally inline a callee with high cost-effectiveness on the basis only of profile information in a call graph
- Patent Title (中): 只有在通话图中的配置文件信息的基础上,全球内部具有高成本效益的被调用者
-
Application No.: US14631207Application Date: 2015-02-25
-
Publication No.: US09244666B2Publication Date: 2016-01-26
- Inventor: Takuya Nakaike , Toshio Suganuma
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent Francis Lammes; Stephen J. Walder, Jr.; William J. Stock
- Priority: JP2014-058055 20140320
- Main IPC: G06F9/45
- IPC: G06F9/45

Abstract:
A mechanism is provided to globally inline a callee with high cost-effectiveness on the basis only of profile information in a call graph, without looking through all call-graph edges. The mechanism provides a technique for inlining. An inline cost-effectiveness ratio for the callee reachable from a caller to be compiled is calculated. Calculating the inline cost-effectiveness ration includes using a ratio of a frequency of calls to the callee to a total of call frequencies as effectiveness and using a ratio of a code size of the callee to a total size of inlinable code as cost. A determination is made as to whether to inline the callee by comparing the inline cost-effectiveness ratio with a predetermined threshold. The callee is inlined into a source code in response to determining that the callee method is to be inlined.
Public/Granted literature
Information query