G - Physics – 06 – F
Patent
G - Physics
06
F
G06F 12/02 (2006.01) G06F 9/44 (2006.01)
Patent
CA 2485087
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.
L'invention concerne un procédé de gestion de mémoire pour objets, et plus spécifiquement des techniques permettant de produire un code de gestion de mémoire commun aux objets qui sont des instances de différentes classes, et de libérer un sous-arbre de gestion de mémoire débutant par un objet particulier dans l'arbre de gestion de mémoire. Une matrice de gestion de mémoire fournit un code de gestion de mémoire de préprocesseur commun. Une version spécialisée de la matrice de gestion de mémoire est utilisée pour créer une sous-classe spécialisée de la matrice. Lorsqu'un opérateur de gestion de mémoire d'un objet qui est une instance de la sous-classe de la matrice spécialisée est appelé, le code de gestion de mémoire commun de la matrice spécialisée est exécuté. La mémoire est associée à chaque objet au moyen d'un arbre hiérarchique. Les données mémoire reflétant la relation de l'arbre hiérarchique entre les objets sont tenues à jour. Un sous-arbre et la mémoire correspondante peuvent ainsi être libérés qu'il soit nécessaire d'utiliser un programme d'application pour détecter les liens.
Kasamsetty Ravikanth
Krishnaswamy Srinath
Lari Mohammed Shoaib
Oracle International Corporation
Smiths Ip
LandOfFree
Simplified deallocation of memory for programming objects does not yet have a rating. At this time, there are no reviews or comments for this patent.
If you have personal experience with Simplified deallocation of memory for programming objects, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Simplified deallocation of memory for programming objects will most certainly appreciate the feedback.
Profile ID: LFCA-PAI-O-2067112