发明名称 Pre-leak detection scan to identify non-pointer data to be excluded from a leak detection scan
摘要 A computer-implemented method of detecting memory that may be reclaimed from application data objects that are no longer in use. When at least a first virtual memory region is newly committed for heap block storage, a pre-leak detection scan of other virtual memory regions can be performed to identify at least one non-pointer data item in the other virtual memory regions, the non-pointer data item comprising data that corresponds to an address of a memory location within the first virtual memory region, but that is not a memory pointer. A leak detection scan can be performed to identify potential memory pointers, wherein the identified non-pointer data item is excluded from the identified potential memory pointers. A list of leaked heap blocks can be output. Each leaked heap block can exclusively comprise memory locations that do not have a corresponding potential memory pointer.
申请公布号 US2011161614(A1) 申请公布日期 2011.06.30
申请号 US20090649832 申请日期 2009.12.30
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 KRAUSS KIRK J.
分类号 G06F12/02 主分类号 G06F12/02
代理机构 代理人
主权项
地址