发明名称 Updating profile frequency for procedure inlining
摘要 A method and apparatus for frequency-updating for procedure inlining. The frequency-updating scheme assumes the call graph of a program has no cycles. It keeps the frequency for each procedure as accurate as that before inlining. Using the present invention, the runtime performance of a source program by a compiler is improved. A source program is analyzed to generate a call graph of the source program, wherein each of the procedures has a first known execution frequency. The call graph is used in conjunction with inlining plans by an inlining algorithm to generate an inlined version of the source program wherein selected call sites have been inlines. An updated execution frequency is generated for each of the procedures and the updated execution frequency for each of the procedures is used to generate optimized executable code for the source program.
申请公布号 US7340732(B2) 申请公布日期 2008.03.04
申请号 US20030723877 申请日期 2003.11.26
申请人 SUN MICROSYSTEMS, INC. 发明人 GU JUNJIE
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址