Patent · US Expired

Method and system for memory leak detection in an object-oriented environment during real-time trace processing

US6560773B1 · kind B1 · utility

106Cited by
45References
37Claims
0Family size

Assignee

Inventors

Key dates

Filing dateOct 7, 1999
Grant dateMay 6, 2003
Priority date
Expiry dateOct 7, 2019

Classification

  • Technology area (CPC Y)Emerging Cross-Sectional Technologies
  • CPC primaryY10S707/99957
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

Abstract

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. An object deallocator, such as a garbage collector, deallocates objects during the execution of the program and modifies object deallocation metrics in the profile data structure. The object allocation metrics and the object deallocation metrics may be compared to identify memory leaks.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.