A method and system are disclosed for operating an object-oriented
environment within a computer system. The execution of the object-oriented
environment is initiated. A first memory location is allocated in a memory
area within the object-oriented environment for storing an object. A
second memory location is allocated in the memory area with the allocation
of the first memory location for storing a persistence indicator. The
persistence indicator indicates a point during the execution of the
object-oriented environment at which the allocation of the first memory
location occurred. A total number of bytes of the memory area which had
been allocated during the execution of the object-oriented environment
when the allocation of the first memory location occurred is stored as the
persistence indicator.
Un método y un sistema se divulgan para funcionar un ambiente orientado al objeto dentro de un sistema informático. La ejecución del ambiente orientado al objeto se inicia. Una primera posición de memoria se asigna en un área de memoria dentro del ambiente orientado al objeto para almacenar un objeto. Una segunda posición de memoria se asigna en el área de memoria con la asignación de la primera posición de memoria para almacenar un indicador de la persistencia. El indicador de la persistencia indica un punto durante la ejecución del ambiente orientado al objeto en el cual la asignación de la primera posición de memoria ocurrió. Un número total de los octetos del área de memoria que había sido asignada durante la ejecución del ambiente orientado al objeto cuando ocurrió la asignación de la primera posición de memoria se almacena como el indicador de la persistencia.