首页> 外国专利> Effective memory management for host objects in a runtime environment with embedded garbage-collected based dynamic language

Effective memory management for host objects in a runtime environment with embedded garbage-collected based dynamic language

机译:使用嵌入式的基于垃圾收集的动态语言对运行时环境中的主机对象进行有效的内存管理

摘要

A system for improving memory management in a hybrid programming environment where a server program receives a request to execute a script. The server program instructs an embedded script engine to execute the script. The server program creates a session manager to manage objects associated with the script. The objects are comprised of host objects that reside in a program memory space, and script objects that reside in an embedded script engine memory space. The session manager creates a session associated with the execution of the script, and associated objects created during the execution of the script. Upon receiving notification of completion and/or termination of the execution of the script, the server program requests invalidation and/or deletion of the objects associated with the session. Deletion of host objects immediately releases memory in the program memory space without waiting for the scheduled garbage collection.
机译:一种用于在混合编程环境中改善内存管理的系统,在该环境中,服务器程序接收执行脚本的请求。服务器程序指示嵌入式脚本引擎执行脚本。服务器程序创建一个会话管理器来管理与脚本关联的对象。这些对象由驻留在程序存储空间中的主机对象和驻留在嵌入式脚本引擎存储空间中的脚本对象组成。会话管理器创建一个与脚本执行相关联的会话,以及在脚本执行期间创建的关联对象。在接收到脚本执行的完成和/或终止的通知时,服务器程序请求使与会话相关联的对象无效和/或删除。删除主机对象会立即释放程序存储空间中的内存,而无需等待计划的垃圾回收。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号