Memory management in a partially garbage-collected...

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 9/44 (2006.01) G06F 12/02 (2006.01)

Patent

CA 2204972

Memory management to support calls between objects in language environments supporting automatic garbage collection and language environments requiring explicit control of object destruction is provided. Reference counting is used to automatically control the lifetime of objects requiring explicit destruction and that are to be accessible across the language boundary. A data structure is maintained in a runtime component for each object that is accessed over a language boundary. The reference count for each non-garbage collected object is incremented by the runtime in accordance with the number of cross-language references held to it. When the count reaches zero through decrements as the references are returned and destroyed, the non-garbage collected object can be safely and automatically destroyed. The runtime creates a reference to any garbage collected object accessed by a cross-language call. The reference is visible to the garbage collector, and prevents the object being collected while the reference is in existence.

L'invention est une méthode de gestion de mémoire servant à prendre en charge les appels entre des objets dans des environnements linguistiques à récupération automatique des miettes en mémoire et dans les environnements linguistiques nécessitant un contrôle explicite de la destruction des objets. Un comptage de référence est utilisé pour contrôler automatiquement la durée de vie des objets nécessitant une destruction explicite qui doivent rester accessibles de part et d'autre d'une frontière linguistique. Une structure de données est conservée dans une composante opérationnelle pour chaque objet auquel le système a eu accès en traversant une frontière linguistique. Le compte de référence pour chaque objet récupéré qui n'est pas une miette est augmenté du temps d'exécution selon le nombre des renvois de langage croisé qui lui sont associés. Quand le compte atteint zéro à la suite de décroissances répétées lors de la destruction des renvois, l'objet récupéré en cause peut être à son tour détruit automatiquement sans danger. La composante opérationnelle crée un renvoi à toute miette récupérée à laquelle on a eu accès par un appel en langage croisé. Le renvoi peut être vu par le ramasse-miettes et empêche la récupération de l'objet tant qu'il existe.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Memory management in a partially garbage-collected... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Memory management in a partially garbage-collected..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Memory management in a partially garbage-collected... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1927714

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.