Differences between revisions 5 and 6
Revision 5 as of 2008-05-14 07:19:07
Size: 1072
Comment:
Revision 6 as of 2009-09-20 21:55:32
Size: 1076
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
[[BR]][[BR]] <<BR>><<BR>>
Line 4: Line 4:
[[BR]] <<BR>>
Line 6: Line 6:
[[BR]] <<BR>>
Line 9: Line 9:
header file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.h?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.h ] [[BR]]
implementation file: [http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.cpp?view=markup http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.cpp]
header file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.h?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.h ]] <<BR>>
implementation file: [[http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.cpp?view=markup|http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.cpp]]

'devirt' - devirtualization of virtual and interface calls

Guarded devirtualization 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 fast run-time class test to verify that the predicted method is in fact the target.

header file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.h
implementation file: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/jitrino/src/optimizer/devirtualizer.cpp

Jitrino_OPT/devirt (last edited 2009-09-20 21:55:32 by localhost)