首页> 外国专利> A METHOD OF CREATING SUBCLASSES HAVING MEMORY MANAGEMENT EXECUTABLES GENERATED FROM A COMMON MANAGEMENT CODE

A METHOD OF CREATING SUBCLASSES HAVING MEMORY MANAGEMENT EXECUTABLES GENERATED FROM A COMMON MANAGEMENT CODE

机译:创建具有从公用管理代码生成的内存管理执行程序的子类的方法

摘要

A method for providing memory management for objects is described. Specifically, techniques are described for providing common memory management code to objects that are instances of different classes and for releasing a memory management subtree that starts with a particular object in the memory management tree. A memory management template provides common pre-processor memory management code. A specialized version of the memory management template is used to create a specialized template subclass. When a memory management operator of an object that is an instance of the specialized template subclass is invoked the common memory management code in the specialized template is executed. Memory is associated with each object in a hierarchical tree. Data for the memory is maintained that reflects the hierarchical tree relationship between the objections. A subtree and the associated memory can be released without an application program tracking the relationships.
机译:描述了一种用于为对象提供存储器管理的方法。具体地,描述了用于向作为不同类的实例的对象提供公共存储器管理代码并且用于释放以存储器管理树中的特定对象开始的存储器管理子树的技术。内存管理模板提供通用的预处理器内存管理代码。专用版本的内存管理模板用于创建专用模板子类。当调用作为专用模板子类实例的对象的内存管理操作符时,将执行专用模板中的公共内存管理代码。内存与分层树中的每个对象相关联。维护用于存储器的数据,该数据反映了反对意见之间的层次树关系。可以释放子树和关联的内存,而无需应用程序跟踪这些关系。

著录项

  • 公开/公告号IN235404B

    专利类型

  • 公开/公告日2009-07-03

    原文格式PDF

  • 申请/专利权人

    申请/专利号IN1632/KOLNP/2004

  • 申请日2004-11-02

  • 分类号G06F9/44;

  • 国家 IN

  • 入库时间 2022-08-21 19:26:42

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号