System and method for optimizing garbage collection with allocation modifiers
AssigneeInternational Business Machines Corporation
InventorsRalf Altrichter, Dirk Heuzeroth, Gerd Kehrer, Martin Raitza
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsRalf Altrichter, Dirk Heuzeroth, Gerd Kehrer, Martin Raitza
Estimating the term…
A system and associated method for optimizing memory allocation and garbage collection. An allocation modifier is employed to declare a data object in a source code. The allocation modifier describes an expected lifespan of the data object being declared. The interpreter allocates the data object in an area of a heap space that is associated with the expected lifespan such that a garbage collector suffers from less overhead in scanning data objects that will survive a garbage collection cycle. Also, the heap space also has less fragmentation as the data object is allocated in the area associated with the expected lifespan such that the data object does not need to be relocated.
A method for optimizing garbage collection, the method comprising:
A computer program product, comprising a computer usable storage medium having a computer readable program code embodied therein, said computer readable program code containing instructions that when executed by a processor of a computer system implement a method for optimizing garbage collection, the method comprising:
A system comprising a processor and a computer readable memory unit coupled to the processor, said memory unit containing instructions that when executed by the processor implement a method for optimizing garbage collection, the method comprising:
A method for optimizing garbage collection, the method comprising:
Dependencies are inferred from the claim text.