Incremental heap expansion in a real-time garbage collector
AssigneeSun Microsystems, Inc.
InventorsSteve Heller, Christine H. Flood
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsSteve Heller, Christine H. Flood
Estimating the term…
A system that performs real-time garbage collection by dynamically expanding and contracting the heap is provided. This system performs real-time garbage collection in that the system guarantees garbage collection will not take more time than expected. The system dynamically expands and contracts the heap to correspond to the actual memory space used by live objects. This dynamic resizing of the heap has the advantages of expanding when the amount of objects increases and contracting to free memory space for use by other procedures when the amount of objects decreases. Keeping the heap as small as possible frees resources for other processes and increases the locality of reference for the application. This dynamic resizing also ensures that the new memory space will not run out of memory before all of the live objects from the old memory space are copied, even if all of the live objects in the old memory space survive.
An incremental garbage collection method performed in a data processing system having memory spaces, a first of the memory spaces containing reachable and unreachable objects, the method comprising the steps of:
An apparatus for performing incremental garbage collection in a data processing system having memory spaces, a first of the memory spaces containing reachable and unreachable objects the apparatus comprising:
A data processing system comprising:
A method for performing incremental garbage collection in a data processing system having a procedure, a garbage collector, and memory spaces, a first of the memory spaces containing reachable and unreachable objects, the method comprising the steps of:
A computer-readable medium containing instructions for controlling a data processing system to perform an incremental garbage collection method, the data processing system having memory spaces, the method comprising the steps of:
An apparatus for performing incremental garbage collection in a data processing system having memory spaces, a first of the memory spaces containing reachable and unreachable objects, the apparatus comprising:
Dependencies are inferred from the claim text.