...
首页> 外文期刊>C - C++ Users Journal >Class Hierarchy Graphs, Function Devirtualization, & RTTI
【24h】

Class Hierarchy Graphs, Function Devirtualization, & RTTI

机译:类层次图,功能虚拟化和RTTI

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

Function devirtualization is a well-known compiler optimization technique for C++ code. This optimization replaces a call to a virtual method by a call to a particular method of a class, thus eliminating the overheads of accessing a virtual method via virtual table(s). In addition, the direct call may be inlined, leading to higher performance. Class Hierarchy Analysis (CHA) is one of the well-known techniques that are applied to find out whether a virtual call is devirtualizable. CHA is based on constructing the Class Hierarchy Graph (CHG) that encapsulates the base-class-derived class relationship among the classes that use virtual methods.
机译:函数非虚拟化是一种众所周知的C ++代码编译器优化技术。该优化将对虚拟方法的调用替换为对类的特定方法的调用,从而消除了通过虚拟表访问虚拟方法的开销。此外,可以内联直接调用,从而提高性能。类层次分析(CHA)是一种众所周知的技术,用于发现虚拟呼叫是否可以虚拟化。 CHA基于构建类层次图(CHG),该类封装了使用虚拟方法的类之间的基础类派生类关系。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号