request for review (L): 7121756 Improve C1 inlining policy by using profiling at call sites

Roland Westrelin roland.westrelin at oracle.com
Mon May 7 09:29:59 PDT 2012


>>> What is "full"?  Maybe you can find a better name.
>> 
>> When a method is compiled, if some profiling data at a call site is available, the compiler checks if the call site is hot or not. The call site may have been seen C1ProfileHotFrequency (i.e. we've collected full profile information) or it may be have been seen a number of times < C1ProfileHotFrequency. We consider both call sites with full and partial profile data for inlining (assuming we have sufficient profile data: number of times seen >= C1ProfileHotFrequency/2). The full argument request that only call sites with full profiling data be considered. That's used for virtual calls where we want to be sure when we inline because the profiling data says only a single klass was seen that we have sufficient data.
> 
> So something like do_only_full_profiles.

Yes.

Roland.


More information about the hotspot-compiler-dev mailing list