计算机科学与探索 ›› 2010, Vol. 4 ›› Issue (1): 29-35.DOI: 10.3778/j.issn.1673-9418.2010.01.003

• 学术研究 • 上一篇    下一篇

内存泄漏检测工具与评估方法

李 倩+,潘敏学,李宣东   

  1. 南京大学 计算机科学与技术系,南京 210093
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2010-01-15 发布日期:2010-01-15
  • 通讯作者: 李 倩

Benchmark of Tools for Memory Leak

LI Qian+, PAN Minxue, LI Xuandong   

  1. Department of Computer Science and Technology, Nanjing University, Nanjing 210093, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2010-01-15 Published:2010-01-15
  • Contact: LI Qian

摘要: 内存泄漏是软件系统中常见的一种错误,会持续消耗内存,致使系统运行效率下降,甚至导致系统崩溃。内存泄漏的检测工具主要可以分为两类:一类是使用基于程序扫描分析技术的静态工具;另一类则是监视实时内存分配状态进行判别的动态工具。如何评估工具检测内存泄漏的能力,相关的标准并不明确。通过对内存泄漏的认识与了解,对相关工具能力进行了调研与分析,提出了一个内存泄漏工具的评估标准。

关键词: 内存泄漏, 动态工具, 静态工具, 评估方法

Abstract: Memory leak, which is a substantial source of errors in software systems, consumes system memory, degrading performance and eventually resulting in program crashes. There are two kinds of tools for detecting memory leaks, which are static tools based on program static analysis technique, and dynamic tools recording allocation of heaps during program running. So far, benchmarks for evaluating their ability are still nonexistent. An approach to build this benchmark is proposed, starting from comprehension and recognition of memory leak and ability of those detecting tools.

Key words: memory leak, dynamic tools, static tools, benchmark

中图分类号: