发明申请
- 专利标题: System and method for concurrent compacting self pacing garbage collection using loaded value and access barriers
- 专利标题(中): 使用负载值和访问障碍并发压缩自动起搏垃圾收集的系统和方法
-
申请号: US11031015申请日: 2005-01-07
-
公开(公告)号: US20060155791A1公开(公告)日: 2006-07-13
- 发明人: Gil Tene , Michael Wolf
- 申请人: Gil Tene , Michael Wolf
- 申请人地址: US CA MOUNTAIN VIEW
- 专利权人: AZUL SYSTEMS, INC.
- 当前专利权人: AZUL SYSTEMS, INC.
- 当前专利权人地址: US CA MOUNTAIN VIEW
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A method, system, and computer program product for managing a heap of memory allocated to a program being executed on a data processing system is disclosed. A limited amount of memory is allocated to a program being executed by a mutator on a data processing system. The memory comprises memory objects. The disclosed method identifies memory objects, which are allocated to the program but are not referenced anymore. These dead memory objects are freed and made available for further allocation in the program. The memory objects that are still referenced are organized in compact contiguous blocks. Thus, the disclosed method recycles memory allocated to the program. The disclosed method is executed iteratively and concurrently with the execution of the program. The disclosed method does not interfere with program execution. Amount of memory required is specified before the commencement of the disclosed method and the same amount is freed without any surplus.
公开/授权文献
信息查询