发明名称 GARBAGE COLLECTION AND OTHER MANAGEMENT OF MEMORY HEAPS
摘要 A memory heap management facility is provided that is able to perform various management tasks, including, but not limited to, garbage collection, compaction, and/or re-ordering of objects within a heap. One or more of these management tasks improve system performance by limiting movement of pages in and out of virtual memory. The garbage collection technique selectively performs garbage collection such that certain objects, such as old but live, infrequently referenced objects, are not garbage collected each time garbage collection is performed.
申请公布号 US2016364328(A1) 申请公布日期 2016.12.15
申请号 US201615245389 申请日期 2016.08.24
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 Heller, JR. Thomas J.
分类号 G06F12/02;G06F9/455;G06F3/06 主分类号 G06F12/02
代理机构 代理人
主权项 1. A computer program product for facilitating management of memory heaps, said computer program product comprising: a computer readable storage medium readable by a processing circuit and storing instructions for execution by the processing circuit for performing a method comprising: selecting a heap section of a memory heap to be examined for garbage collection, the heap section comprising a plurality of groups, the plurality of groups defined such that groups include objects of particular types, a particular type being defined based on frequency of reference of the objects within a group;selecting one or more groups of the plurality of groups of the heap section to be examined for garbage collection, the selecting based on the particular type of the one or more groups;determining whether garbage collection is to be performed for the selected one or more groups; andperforming garbage collection on the selected one or more groups based on the determining indicating garbage collection is to be performed for the selected one or more groups.
地址 Armonk NY US