harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Harmony Wiki] Update of "Jitrino OPT/devirt" by Mikhail Fursov
Date Tue, 13 May 2008 08:20:57 GMT
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

------------------------------------------------------------------------------
- ''' 'devirt' ''' - devirtualization of virtual calls
+ ''' 'devirt' ''' - devirtualization of virtual and interface 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.
+ 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 fast run-time
class test to verify that the predicted method is in fact the target.
  

Mime
View raw message