首页> 外国专利> PROVIDING COMMON MEMORY MANAGEMENT CODE TO OBJECTS THAT ARE INSTANCES OF DIFFERENT CLASSES

PROVIDING COMMON MEMORY MANAGEMENT CODE TO OBJECTS THAT ARE INSTANCES OF DIFFERENT CLASSES

机译:提供常见的内存管理代码以针对不同类别的实例

摘要

A method for providing memory management for objects is described.Specifically, techniques are described for providing common memory managementcode to objects that are instances of different classes and for releasing amemory management subtree that starts with a particular object in the memorymanagement tree. A memory management template provides common pre-processormemory management code. A specialized version of the memory managementtemplate is used to create a specialized template subclass. When a memorymanagement operator of an object that is an instance of the specializedtemplate subclass is invoked the common memory management code in thespecialized template is executed. Memory is associated with each object in ahierarchical tree. Data for the memory is maintained that reflects thehierarchical tree relationship between the objects. A subtree and theassociated memory can be released without an application program tracking therelationships.
机译:描述了一种用于为对象提供存储器管理的方法。具体来说,描述了用于提供通用内存管理的技术代码到属于不同类的实例的对象并释放从内存中的特定对象开始的内存管理子树管理树。内存管理模板提供通用的预处理器内存管理代码。专用版本的内存管理template用于创建专门的模板子类。当一个记忆作为专用对象实例的对象的管理操作员模板子类在执行专用模板。内存与一个对象中的每个对象相关联层次树。维护的内存数据反映了对象之间的层次树关系。子树和可以释放关联的内存,而无需应用程序跟踪关系。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号