作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2008, Vol. 34 ›› Issue (17): 79-81. doi: 10.3969/j.issn.1000-3428.2008.17.029

• 软件技术与数据库 • 上一篇    下一篇

面向一般应用的动态加载机制

宁 涛,王 铮,龙 川   

  1. (重庆大学计算机学院,重庆 400044)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-09-05 发布日期:2008-09-05

General Application Oriented Dynamic Loading Mechanism

NING Tao, WANG Zheng, LONG Chuan   

  1. (College of Computer Science, Chongqing University, Chongqing 400044)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-09-05 Published:2008-09-05

摘要: 为了实现系统在线扩展过程中的实用性和稳定性,在软件升级过程中采用动态加载思想,引入超级调用指令,使用符号解析和弱绑定概念,为系统中的符号建立树状索引集。该方案解决了名字空间污染问题,提高了符号绑定的准确性和系统安全性,极大降低了在线扩展过程中更新外部引用的性能开销。

关键词: 动态加载, 动态链接, 解析

Abstract: To realize the availability and stability of online extending, this paper proposes a new scheme by integrating the idea of dynamic loading into software updating. Supervisor instruction, the concept of symbol resolution and lazy binding are used in the new scheme to set up the tree-like index for symbols of the system. The namespace pollution problem is addressed in the new scheme, and the security of the system and the accuracy of the symbol bindings are improved. It decreases the expenses for updating external reference during online extending significantly.

Key words: dynamic loading, dynamic linking, resolution

中图分类号: