Methods and apparatus for optimizing garbage collection using separate heaps of memory for storing local objects and non-local objects

   
   

Methods and apparatus for executing a method to enable memory associated with objects not referenced external to the executed method to be reclaimed upon completion of execution of the method. Methods include obtaining a data structure including one or more addresses of source code that creates local objects, obtaining next source code in the method, and determining whether an address of the obtained next source code is in the data structure. When the address of the obtained next source code is in the data structure including one or more addresses of source code that creates local objects, a local object is created on a local heap of memory using the source code associated with the address such that local objects are stored in memory separately from non-local objects.

Les méthodes et l'appareil pour exécuter une méthode pour permettre la mémoire se sont associés à externe non référencé d'objets à la méthode exécutée à reprendre sur l'accomplissement de l'exécution de la méthode. Les méthodes incluent obtenir une structure de données comprenant une ou plusieurs adresses du code source qui crée les objets locaux, obtenant le prochain code source dans la méthode, et déterminant si une adresse du prochain code source obtenu est dans la structure de données. Quand l'adresse du prochain code source obtenu est dans la structure de données comprenant une ou plusieurs adresses du code source qui crée les objets locaux, un objet local est créé sur un tas local de mémoire en utilisant le code source lié à l'adresse tels que des objets locaux sont stockés dans la mémoire séparément des objets non-local.

 
Web www.patentalert.com

< Process persistence in a virtual machine

< Accessing a ERP application over the internet using strongly typed declarative language files

> Method, system, and program for mapping standard application program interfaces (APIs) to user interface APIs

> Method and system of cache management using spatial separation of outliers

~ 00144