You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/06 11:15:33 UTC

[Harmony Wiki] Update of "Jitrino OPT/devirt" by George Timoshenko

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Harmony Wiki" for change notification.

The following page has been changed by George Timoshenko:
http://wiki.apache.org/harmony/Jitrino_OPT/devirt

New page:
Guarded devirtualization pass of virtual method calls reduces their run-time cost and enables the compiler to inline their targets. Provided exact type information, this optimization can convert a virtual call into a more efficient direct call. When no type information is available, the most probable target of the virtual method can be predicted, and the optimization devirtualizes the call by guarding it with a cheap run-time class test to verify that the predicted method is in fact the target.