[1]苗宏伟 钟云鹏.一个Windows应用程序的垃圾回收器[J].计算机技术与发展,2012,(01):17-20.
 MIAO Hong-wei,ZHONG Yun-peng.A Garbage Collector for Windows Applications[J].,2012,(01):17-20.
点击复制

一个Windows应用程序的垃圾回收器()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
期数:
2012年01期
页码:
17-20
栏目:
智能、算法、系统工程
出版日期:
1900-01-01

文章信息/Info

Title:
A Garbage Collector for Windows Applications
文章编号:
1673-629X(2012)01-0017-04
作者:
苗宏伟1 钟云鹏2
[1]天津大学微软.net实验室[2]装甲兵工程学院控制系
Author(s):
MIAO Hong-wei ZHONG Yun-peng
[1]Microsoft. net Research Lab, Tianjin University[2]Dept. of Control Engineering, Academy of Armored Force Engineering
关键词:
Windows系统动态内存分配内存泄漏垃圾回收堆内存
Keywords:
Windows dynamic memory allocation memory leaks garbage collection heap storage
分类号:
TP399
文献标志码:
A
摘要:
为减少长期运行的Windows应用程序持续堆内存泄漏而造成的系统性能损失,设计并实现了一个运行时自动垃圾回收器RT-AGC。RT-AGC采用传统Mark—Sweep算法的一个变种,对回收触发条件进行改进,使其具有更大的灵活性。利用Windows下应用程序的存储结构和系统API函数,通过扫描可能存储指针变量的区域,RT—AGC可以在应用程序运行时检测并处理内存泄漏,而不需要对目标应用程序重新编译或链接。文中描述了所采用的关键算法流程和主要实现技术,并编写了测试程序对RT—AGC的回收效果进行验证。实验证明可以有效地抑制应用程序的内存泄漏
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 defectiw test application is written for verifying the effect of RTAGC. Experiment proves that the collector can presnt memory leaks effectively

相似文献/References:

[1]王铮 李志军.一种适用嵌入式系统的自适应动态内存管理方案[J].计算机技术与发展,2007,(03):48.
 WANG Zheng,LI Zhi-jun.One Adaptive Dynamic Memory Allocating Method for Embedded System[J].,2007,(01):48.
[2]杨少春 王作鹏.嵌入式图形系统μC/GUI的动态内存分配的研究[J].计算机技术与发展,2006,(08):91.
 YANG Shao-chun,WANG Zuo-peng.Research on Dynamic Memory Distribution of Embedded μC/GUI[J].,2006,(01):91.

备注/Memo

备注/Memo:
天津市科技支撑计划重点项目(10ZCGYSF01300)苗宏伟(1984-),男,吉林洮南人,硕士研究生,主要研究方向为系统安全、网络信息安全
更新日期/Last Update: 1900-01-01