Methods for managing memory in a run-time environment are described, in which an object is activated by both initializing the object and registering a routine to deallocate or deactivate the object at the end of a call (e.g. by setting it to null to unreference the object), which prevents the object, which may be a large object, from being migrated into session memory. This deactivation routine is called after the finalization of garbage collected objects that may use the object. In a subsequent call, the object is checked before use to determine if the object is already activated and re-initialized if the object is not activated.

Los métodos para manejar memoria en un ambiente run-time se describen, en el cual un objeto es activado inicializando el objeto y colocando una rutina para desasignar o para desactivar el objeto en el final de una llamada (e.g. fijándolo a la falta de información al unreference el objeto), que evita que el objeto, que pueda ser un objeto grande, sea emigrado en memoria de la sesión. Se llama esta rutina de la desactivación después de que el acabamiento de la basura recogiera los objetos que pueden utilizar el objeto. En una llamada subsecuente, se comprueba el objeto antes de que uso de determinarse si el objeto se activa y se vuelve a iniciar ya si el objeto no se activa.

 
Web www.patentalert.com

< Mechanism to improve fault isolation and diagnosis in computers

< Method, system and program products for providing user-managed duplexing of coupling facility cache structures

> Apparatus and method for component role fulfillment based on environment context

> System and methods for creating and using customized self-test pages

~ 00080