Providing common memory management code to objects that are instances of different classes
AssigneeOracle International Corporation
InventorsMohammad Shoaib Lari, Ravikanth Kasamsetty, Srinath Krishnaswamy
Life of this patent
Estimating the term…
Loading patent…
AssigneeOracle International Corporation
InventorsMohammad Shoaib Lari, Ravikanth Kasamsetty, Srinath Krishnaswamy
Estimating the term…
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.
A method of creating subclasses having memory management executables generated from common memory management code, comprising the computer-implemented steps of:
A computer-readable medium carrying one or more sequences of instructions for creating subclasses having memory management executables generated from common memory management code, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
A method of creating subclasses having memory management executables generated from common memory management code, comprising the computer-implemented steps of:
A computer-readable medium carrying one or more sequences of instructions for creating subclasses having memory management executables generated from common memory management code, wherein execution of the one or more sequences of instructions by one or more processors causes the one or more processors to perform the steps of:
Dependencies are inferred from the claim text.