| 注册
首页|期刊导航|计算机技术与发展|一个Windows应用程序的垃圾回收器

一个Windows应用程序的垃圾回收器

苗宏伟 钟云鹏

计算机技术与发展2012,Vol.22Issue(1):17-20,4.
计算机技术与发展2012,Vol.22Issue(1):17-20,4.

一个Windows应用程序的垃圾回收器

A Garbage Collector for Windows Applications

苗宏伟 1钟云鹏2

作者信息

  • 1. 天津大学微软.net实验室,天津 300072
  • 2. 装甲兵工程学院控制系,北京 100072
  • 折叠

摘要

Abstract

It proposes a garbage collector (RT-AGC) to resolve memory leaks in long running Windows applications. RT-AGC uses Mark-Sweep algorithm and makes it have more flexibility by improving the trigger conditions. This collector detects and reclaims garbage memory for non-cooperative applications at run time using PE file structures and Windows API functions by scanning program space. Key algorithm and implementation for this collector is presented. A defective test application is written for verifying the effect of RT-AGC. Experiment proves that the collector can prevent memory leaks effectively.

关键词

Windows系统/动态内存分配/内存泄漏/垃圾回收/堆内存

Key words

Windows/dynamic memory allocation/memory leaks/garbage collection/heap storage

分类

信息技术与安全科学

引用本文复制引用

苗宏伟,钟云鹏..一个Windows应用程序的垃圾回收器[J].计算机技术与发展,2012,22(1):17-20,4.

基金项目

天津市科技支撑计划重点项目(10ZCGYSF01300) (10ZCGYSF01300)

计算机技术与发展

OACSTPCD

1673-629X

访问量0
|
下载量0
段落导航相关论文