Managing memory in a computer system
AssigneeInternational Business Machines Corporation
InventorEdward J. Slattery
Life of this patent
Estimating the term…
Abstract
Methods, computer program products, and systems for managing memory in a computer system in which memory locations in use at any given time are represented as a set of memory objects in a first object graph. The first object graph includes a system root object associated by references to each of the memory objects. A method includes creating a second root object for the memory to form a second object graph for the memory. The method also includes, in response to the dereferencing of a first object from the first object graph, associating the dereferenced first object with the second object graph so that the second object graph includes at least one dereferenced object.
Claims11
A computer program product comprising a computer readable storage medium having program code embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program code executable by a processor to cause the processor to perform a method comprising:
- identifying one or more candidate objects in a dereferenced object graph, the dereferenced object graph including a set of objects that were dereferenced from a system root object graph, the one or more candidate objects being connected objects in the dereferenced object graph;
- extracting dead object data from the one or more candidate objects;
- removing, after extracting the dead object data from the one or more candidate objects, the one or more candidate objects from memory;
- storing the extracted dead object data in the dereferenced object graph;
- and
- repairing the dereferenced object graph.
Dependencies are inferred from the claim text.