首页> 外国专利> Dynamically updating code without requiring processes to restart

Dynamically updating code without requiring processes to restart

机译:动态更新代码,无需重启进程

摘要

A method, system and computer program for dynamically updating code managed by an authorized agent. The method includes executing multiple versions of agent code in system memory. One version of the agent code is executed as an active version and another version of the agent code is executed as an inactive version. Version numbers of the active and inactive versions of the agent code are stored in a reloadable module vector. Client instances previously bound to the inactive version of the agent code are bound to the active version of the agent code after comparing the version numbers of the active version of the agent code and the inactive version of the agent code. A portion of the system memory used by the inactive version of the agent code is deallocated when no client instances are bound to the inactive version of the agent code.
机译:一种用于动态更新由授权代理管理的代码的方法,系统和计算机程序。该方法包括在系统存储器中执行代理代码的多个版本。代理代码的一个版本作为活动版本执行,代理代码的另一版本作为非活动版本执行。代理程序代码的有效和无效版本的版本号存储在可重载模块向量中。在比较代理代码的活动版本和代理代码的非活动版本的版本号之后,将先前绑定到代理代码的非活动版本的客户端实例绑定到代理代码的活动版本。当没有客户端实例绑定到代理代码的非活动版本时,代理代码的非活动版本所使用的部分系统内存将被释放。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号