Patent ID: 9600411
Date: 2017-03-21
CPC Classifications: G06F

Claim:
1. A computer-implemented method comprising: storing objects, constructed in an object-oriented programming environment, in a first computer memory of a computer system, the objects allocated system resources of the computer system; building a root record graph, the root record graph being a directed graph including nodes and edges linking the nodes, at least some of the nodes associated with root records for the objects constructed in the object oriented programming environment, the root record graph including one or more roots; configuring the edges of the root record graph to point in an opposite direction relative to references to the objects, the references to the objects defined in the object-oriented programming environment; storing the root record graph in one of the first computer memory and a second computer memory; removing a first reference of the references to a first object of the objects; in response to the removal of the first reference to the first object: determining, from the updated root record graph, whether the first node associated with the first root record for the first object remains linked to at least one of the one or more roots of the root record graph; and if the first node associated with the first root record for the first object is not linked to the at least one of the one or more roots of the root record graph, destroying the first object to release for reuse a first system resource of the system resources allocated to the first object.