检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]南开大学信息科学院自动化系,天津300071
出 处:《计算机工程与应用》2005年第14期18-20,共3页Computer Engineering and Applications
基 金:天津市自然科学基金资助项目(编号:013600211)
摘 要:内存泄漏是软件开发中的一个难以定位和修正的严重错误。在大多数情况下,动态内存的有效域虽未明确写出,但仍是程序的局部;且程序动态运行的轨迹在一定程度上反映程序的静态性质。基于以上观察,开发了在面向函数定位框架中嵌入动态分析的内存泄漏监测新方法。新方法中,先建立程序的函数动态调用树,其中包含程序分配释放内存的信息,再在调用树中总结程序的静态性质,为内存泄漏定位提供有价值的信息。该文用两个实例展示这个方法的有效性。Memory leak has been exposed to be one of the most serious bugs that are hard to locate and fix in computer program development.In this paper though it is noted that dynamic variables have some local inexplicit extent under most circumstances,the running trace of a program can reflect its static property to a certain degree.Based on these two observations a new approach for memory leak detection is developed which incorporates dynamic analysis under the framework of function oriented locating?In the new approach,dynamic function calling tree with data about memory allocation and release of the running program is constructed first,then the static property of the program is extracted from the dynamic tree which provides some valuable information for memory leak detection and location.The effectiveness of our approach is demonstrated by two examples in the paper.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.222