Patent ID: 8825721

Claim:
A method for time-based object aging garbage collection comprising: receiving, using at least one processor, a time tenuring threshold specifying an amount of time a plurality of objects survive in a memory; receiving, using the at least one processor, first time data indicating an occurrence of a first garbage collection; receiving, using the at least one processor, second time data for each object of the plurality of objects, the second time data comprising a time stamp specifying when a particular object of the plurality of objects was allocated in the memory; calculating, using the at least one processor, an elapsed time value for each object of the plurality of objects by determining a first elapsed time between the first time data and the corresponding time stamp; promoting, within the memory, at least one object of the plurality of objects when the elapsed time value meets the time tenuring threshold; and when the elapsed time value fails to meet the time tenuring threshold: retaining the at least one object at a current location within the memory; and incrementing an object age field based on a second elapsed time between the first time data and a second garbage collection, the object age field corresponding to the at least one object.