发明授权
- 专利标题: Conditional garbage based on monitoring to improve real time performance
- 专利标题(中): 基于监控的条件垃圾提高实时性能
-
申请号: US10631195申请日: 2003-07-31
-
公开(公告)号: US07392269B2公开(公告)日: 2008-06-24
- 发明人: Gerard Chauvel
- 申请人: Gerard Chauvel
- 申请人地址: US TX Dallas
- 专利权人: Texas Instruments Incorporated
- 当前专利权人: Texas Instruments Incorporated
- 当前专利权人地址: US TX Dallas
- 代理商 Ronald O. Neerings; Wade J. Brady, III; Frederick J. Telecky, Jr.
- 主分类号: G06F17/30
- IPC分类号: G06F17/30
摘要:
A system comprising a counter adapted to monitor the memory consumption of the allocated memory resources. Upon reaching or surpassing the memory resource threshold provided, the counter may indicate the need for garbage collection. The garbage collector assesses the memory and releases memory resources that are consumed by the programs but are not needed anymore. The recycled memory resources are thus provided to the programs and the counter is updated accordingly. In addition, the system may also include instructions requesting memory resources. After detecting such instructions, the memory usage counter is updated either by the exact amount of memory allocated or the estimated amount of memory allocated. The counter may be implemented in hardware or in software.