SUGGESTED FIX
Webrev:
http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050920142945.kvn.5074577/workspace/webrevs/webrev-2005.09.20/index.html
Add C2 product flag BimorphicInlining and set the default value to true.
Save information about all known receivers from method_data in ciCallProfile.
Sort the information by calls count.
Inline (or direct call) second method if the call site is bimorphic and
the flag BimorphicInlining is true.
Set probability on dynamic class check based on the virtual call profile info.
It shows double performance improvement on the original test cases
from 4803284 but it doesn't improve our benchmarks scores.
*** (#1 of 1): [ UNSAVED ] ###@###.###
|