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/13 10:19:27 UTC

[Harmony Wiki] Update of "Jitrino OPT/devirt" by Mikhail Fursov

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 Mikhail Fursov:
http://wiki.apache.org/harmony/Jitrino_OPT/devirt

------------------------------------------------------------------------------
- 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.
+ ''' 'devirt' ''' - devirtualization of virtual calls
+ [[BR]][[BR]]
+ Guarded devirtualization of virtual method calls reduces their run-time cost and enables the compiler to inline their targets. 
+ [[BR]]
+ Provided exact type information, this optimization can convert a virtual call into a more efficient direct call. 
+ [[BR]] 
+ 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.