Invention Grant
US09244666B2 Globally inline a callee with high cost-effectiveness on the basis only of profile information in a call graph 有权
只有在通话图中的配置文件信息的基础上,全球内部具有高成本效益的被调用者

Globally inline a callee with high cost-effectiveness on the basis only of profile information in a call graph
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.
Information query
Patent Agency Ranking
0/0