首页> 外国专利> Optimization of control transfers to dynamically loaded modules

Optimization of control transfers to dynamically loaded modules

机译:控制转移到动态加载模块的优化

摘要

Method and apparatus for optimization of an executable program that calls procedures in a shared library. Code segments that read procedure address information from a linkage table are first identified. Each linkage code segment is associated with a call to a procedure in the shared library, and the address information in the linkage table is associated with the procedures in the shared library. During program execution, the address information is read from the linkage table and substitute code segments are generated for the linkage code segments. Each substitute code segment has direct loads of the address information for calling the associated procedure instead of the original references to the linkage table. Thereafter, the substitute code segments are executed instead of the linkage code segments.
机译:用于优化可执行程序的方法和装置,该可执行程序调用共享库中的过程。首先识别从链接表中读取过程地址信息的代码段。每个链接代码段都与对共享库中过程的调用相关联,而链接表中的地址信息与共享库中的过程相关联。在程序执行期间,从链接表中读取地址信息,并为链接代码段生成替代代码段。每个替代代码段都直接加载地址信息以调用关联的过程,而不是直接引用链接表。此后,执行替代代码段而不是链接代码段。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号