发明名称 Speculative inlining of overridden methods without using profiling information
摘要 A computer implemented method, computer usable program code, and a data processing system for selecting a candidate implementation of a virtual overridden method for inlining into a calling method. A determination as to which implementation of a virtual overridden method to inline is made based on its relative "hotness" compared to the other implementations of the same method. The relative hotness can be inferred from the invocation count and sampling count that the virtual machine and the just-in-time compiler already collect for other purposes, that is, without collecting and storing of call-edge profiling information. When a method is being compiled and it is identified that the method contains a call to an overridden method, a candidate for inlining from among the implementations of the overridden method is selected based on relative hotness values. The candidate implementation of the overridden method is then inlined, with a guard, into the calling method.
申请公布号 US2007245324(A1) 申请公布日期 2007.10.18
申请号 US20060405093 申请日期 2006.04.17
申请人 INGLIS DEREK B;SUNDARESAN VIJAY;TAL DINA 发明人 INGLIS DEREK B.;SUNDARESAN VIJAY;TAL DINA
分类号 G06F9/45 主分类号 G06F9/45
代理机构 代理人
主权项
地址
您可能感兴趣的专利