Time-based object aging for generational garbage collectors
AssigneeOracle International Corporation
InventorsCharlie Hunt, Antonios Printezis, Staffan Friberg
Life of this patent
Estimating the term…
Abstract
System and Methods for time based object aging for generational garbage collectors are provided. Time data is received from a user identifying the amount of time an object should survive in a generation defined in a heap. Generational garbage collection is performed, and objects are promoted from one generation to the next oldest generation based on the time data received.
Claims20
A method for time-based object aging garbage collection comprising:
- receiving, at at least one processor, a time tenuring threshold specifying an amount of time a plurality of objects survive in a memory;
- receiving, at the at least one processor, first time data indicating an occurrence of a garbage collection;
- calculating, at the at least one processor, an elapsed time value for each object of the plurality of objects;
- promoting, within the memory, at least one object of the plurality of objects when the elapsed time value meets the time tenuring threshold.
A system for time-based object aging generational garbage collection comprising:
- at least one processor;
- a memory in operable communication with the at least one processor;
- and
- a time based object aging generational garbage collection application comprising modules executable by the processor, the modules comprising:
- a receiving module to:
- receive a time tenuring threshold specifying a time a plurality of objects survive in a heap in a memory;
- receiving first time data indicating the occurrence of a garbage collection;
- a calculation module to calculate an elapsed time value for each object of the plurality of objects;
- and
- a promotion module to promote at least one object of the plurality of objects when the elapsed time value meets the time tenuring threshold.
A computer-readable medium encoded with time-based object aging generational garbage collection application comprising modules executable by a processor, the modules comprising:
- a receiving module to:
- receive a time tenuring threshold specifying the amount of time a plurality of objects survive in a heap in a memory;
- receive first time data indicating the occurrence of a garbage collection;
- a calculation module to:
- calculate an elapsed time value for each object of the plurality of objects;
- and
- a promotion module to:
- promote at least one object of the plurality of objects when the elapsed time value meets the time tenuring threshold.
Dependencies are inferred from the claim text.