发明名称 PROVIDING COMMON MEMORY MANAGEMENT CODE TO OBJECTS THAT ARE INSTANCES OF DIFFERENT CLASSES
摘要 <p>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 objects. A subtree and the associated memory can be released without an application program tracking the relationships.</p>
申请公布号 WO2003096186(P1) 申请公布日期 2003.11.20
申请号 US2003013310 申请日期 2003.04.28
申请人 发明人
分类号 主分类号
代理机构 代理人
主权项
地址