Method and system for allocation of a persistence indicator...

Electrical computers and digital processing systems: memory – Storage accessing and control – Memory configuring

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C711S154000, C711S168000, C707S793000

Reexamination Certificate

active

06457111

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Technical Field
The present invention relates to an improved data processing system and, in particular, to a method and system for optimizing performance of an object-oriented environment in a data processing system. Still more particularly, the present invention provides a method and system in an object-oriented environment for allocating a persistence indicator for an object, where the persistence indicator indicates a point during the execution of the object-oriented environment at which the allocation of memory for the object occurred.
2. Description of Related Art
Effective management and enhancement of data processing systems requires knowing how and when various system resources are being used. An object-oriented environment supported by the Java™ Programming Language available from Sun Microsystems includes a Java virtual machine (JVM). The JVM may allocate memory from a Java heap where the memory heap allocations and deallocations are hidden from the Java programmer. The allocations are performed by the JVM when new objects are specified. The deallocations are done by the JVM asynchronously at garbage collection (GC) time when there are no longer any references to the object. Because these allocations and deallocations are done by the JVM, the Java programmer is usually not aware of the cost associated with the objects created and may not take care to eliminate references to objects that are not required.
In a performance analysis effort with programs written in Java, the utilization of memory can drastically affect performance. The Java language requires the Java Virtual Machine (JVM) to be responsible for the memory management of the memory area called the heap. The heap is a shared memory area from which memory is allocated for objects. The normal method for allowing reuse of memory locations on the heap for objects which are no longer needed is to perform a garbage collection (GC). During the garbage collection, objects are identified which are no longer in use, and the memory locations where these objects were stored is reclaimed. Objects are in use if they are referenced, either directly or indirectly, by other objects. During the garbage collection, objects can be moved or deallocated from the heap. The time required to perform a garbage collection can significantly affect the total sustained performance and response time of the environment. Thus, it is important to understand information related to both short-lived objects and for persistent objects, that is, those objects that persist between garbage collections.
Therefore, it would be advantageous to provide a method and system for allocating a persistence indicator with an object in an object-oriented environment where the persistence indicator indicates a point during the execution of the object-oriented environment at which the allocation of memory for the object occurred.
SUMMARY OF THE INVENTION
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 concurrently 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.
The above as well as additional objectives, features, and advantages of the present invention will become apparent in the following detailed written description.


REFERENCES:
patent: 5460774 (1995-10-01), Joy
patent: 5692183 (1997-11-01), Hapner et al.
patent: 5724575 (1998-03-01), Hoover et al.
patent: 5870753 (1999-02-01), Chang et al.
patent: 5918229 (1999-06-01), Davis et al.
patent: 6009266 (1999-12-01), Brownell et al.
patent: 6094664 (2000-07-01), Ungar
patent: 6105040 (2000-08-01), Agesen
patent: 6202208 (2001-03-01), Holiday, Jr.
patent: 6219678 (2001-04-01), Yelland et al.
patent: 6230159 (2001-05-01), Golde
patent: 6279148 (2001-08-01), Taivalsaari et al.

LandOfFree

Say what you really think

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

Rating

Method and system for allocation of a persistence indicator... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and system for allocation of a persistence indicator..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and system for allocation of a persistence indicator... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2822216

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