Patent ID: 7711920

Claim:
A method for dynamically managing storage of a set of data objects generated during an execution of a computer program in a dedicated area of memory, wherein the set of data objects become inaccessible to the computer program during the execution of the computer program, the method comprising the steps of: locating the set of data objects stored in the dedicated area of memory; in response to locating the set of data objects, producing a map of at least a part of the dedicated area of memory having a plurality of map entries, wherein each entry in the plurality of map entries corresponds to a fixed size portion of the dedicated area of memory, and wherein each entry in the plurality of map entries indicates whether the fixed size portion of the dedicated area of memory contains a set of accessible data objects; selecting, with reference to the plurality of map entries, a set of contiguous portions of the dedicated area of memory not containing the set of accessible data objects, wherein a unit size of the set of contiguous portions of the dedicated area of memory is at least a predetermined minimum unit size, and wherein the predetermined minimum unit size is a smallest unit of memory added to a free storage data structure, wherein the free storage data structure maintains a set of free portions of the dedicated area of memory available for storage of the set of data objects; and returning a set of selected contiguous portions of the dedicated area of memory not containing the set of accessible data objects to the free storage data structure for reallocation of storage to the computer program.