发明名称 Method and system for shadow heap memory leak detection and other heap analysis in an object-oriented environment during real-time trace processing
摘要 A method and system for detecting memory leaks in an object-oriented environment during real-time trace processing is provided. During the profiling of a program executing in a data processing system, a profiler processes events caused by the execution of the program, and the profiler maintains a profile data structure containing execution-related metrics for the program. The execution-related metrics may include object allocation and deallocation metrics that are associated with object processing initiated on behalf of an executing method. An object allocator allocates objects during the execution of the program and modifies object allocation metrics in the profile data structure. Object metrics are stored in a particular location and a pointer to that location is stored in a hash table associated with the object's ID. In another embodiment the pointer to the location is stored in a shadow heap in the same relative position as the position of the object in the heap. The object allocation metrics and the object deallocation metrics may be compared to identify memory leaks.
申请公布号 US6658652(B1) 申请公布日期 2003.12.02
申请号 US20000589798 申请日期 2000.06.08
申请人 INTERNATIONAL BUSINESS MACHINES CORPORATION 发明人 ALEXANDER, III WILLIAM PRESTON;LEVINE FRANK ELIOT;REYNOLDS WILLIAM ROBERT;URQUHART ROBERT J.
分类号 G06F9/44;G06F11/34;G06F12/02;(IPC1-7):G06F9/44 主分类号 G06F9/44
代理机构 代理人
主权项
地址