Methods and apparatus for generational dynamic management of computer memory
AssigneeSun Microsystems, Inc.
InventorsSteffen Grarup, Lars Bak
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorsSteffen Grarup, Lars Bak
Estimating the term…
The present invention relates to methods and apparatus for performing generational garbage collection within computer memory. According to one aspect of the present invention, a computer-implemented method for dynamically managing memory which includes a first memory section and a second memory section that is divided into a plurality of blocks each having an associated marker, includes performing a first garbage collection on the first memory section. The method also includes performing a second garbage collection on a selected one of the blocks in the second memory section. A third garbage collection is performed on the selected block in the second memory section. The third garbage collection includes determining whether the selected block includes a first object which references a second object which is not included in the selected block based at least in part on a status indicated by the marker associated with the selected block. The status includes an indication of whether the reference to the second object was stored after the second garbage collection was performed, and if the reference to the second object was stored after the second garbage collection was performed, a new root array is created using the selected marker.
A computer-implemented method for dynamically managing memory associated with a computer system, the memory including a first memory section and a second memory section that is divided into a plurality of blocks, the blocks in the second memory section each having an associated marker, the method comprising:
A computer-implemented method for dynamically managing memory associated with a computer system, the memory being divided into a plurality of blocks, the blocks each having an associated marker, the method comprising:
A computer-implemented method for allocating a selected object in computer memory, the computer memory including a first section, a second section, and an array of words associated with elements in the second section, the words being arranged to indicate whether the contents of their associated elements reference objects in the first section, the method comprising:
A computer readable medium for use in a computer system including a first memory section and a second memory section that is arranged as a plurality of elements, the computer readable medium having computer code for configuring a marker, the marker being associated with a first element selected from the plurality of elements, the marker comprising:
A computer system comprising:
A computer system comprising:
A computer program product for dynamically managing memory associated with a computer system, the computer program product comprising:
A computer program product for causing a processor of a computer system to dynamically manage memory associated with the computer system, the computer program product comprising:
Dependencies are inferred from the claim text.