发明名称 Method and system for determining memory usage of a heap
摘要 A method and system for determining the memory utilization of a heap are provided. With the method and system, object allocations and optionally, possible memory freeing events are used to initiate a mark-and-count operation. The mark-and-count operation marks the live objects and maintains a running count of their memory bytes allocated to the live objects, referred to as a live count. The execution of the mark-and-count operation may be dependent upon various criteria including thresholds, functions of the live count, peak live counts, number of memory bytes allocated since a previous mark-and-count operation was performed, and the like. In addition to the live count, a total number of bytes allocated to objects may be maintained in order to obtain information regarding the heap memory utilization.
申请公布号 US2005289307(A1) 申请公布日期 2005.12.29
申请号 US20040875929 申请日期 2004.06.24
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ACHANTA PHANI G.;DIMPSEY ROBERT T.;LEVINE FRANK E.;URQUHART ROBERT J.
分类号 G06F12/00;G06F12/02;(IPC1-7):G06F12/00 主分类号 G06F12/00
代理机构 代理人
主权项
地址