检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:沙有闯 胡学钢[1] 付贤政[2] 袁明磊[3] SHA You-chuang;HU Xue-gang;FU Xian-zheng;YUAN Ming-lei(School of Computing and Information,Hefei University of Technology,Hefei 230601,China;Department of Information,Anhui Vocational College of Defense Technology,Lu an 237011,China;Department of Computer Science and Technology,Nanjing University,Nanjing 210023,China)
机构地区:[1]合肥工业大学计算机与信息学院,安徽合肥230601 [2]安徽国防科技职业学院信息技术学院,安徽六安237011 [3]南京大学计算机系,江苏南京210023
出 处:《吉林师范大学学报(自然科学版)》2021年第2期83-91,共9页Journal of Jilin Normal University:Natural Science Edition
基 金:安徽省高校学科(专业)拔尖人才学术资助项目(gxbjZD2020126);安徽省教育厅自然科学研究重点项目(KJ2019A1183);安徽省教育厅质量工程项目(2018sxzx31,2019dsgzs38,2020zyq17)。
摘 要:因为部分开发人员对Android内存管理机制理解模糊,所以Android应用程序的内存泄漏问题较为常见.为了解决内存泄漏的检测问题,首先分析了Android系统的内存管理机制,通过代码分析找出了Android应用内存泄漏的原因,并根据内存泄漏与组件、资源访问的相关性进行分类.在此基础上,提出了一种Android应用内存泄漏检测模型.该模型使用静态分析方法在反编译Android应用程序源码的基础上监测所有可能的内存泄漏代码,针对不同的代码缺陷类型使用不同的算法进行监测.通过实验分析,模型的检测正确率达到96.3%,优于自动化分析工具Lint,能够有效检测Android应用中的内存泄漏.Memory leakage in Android application development is very common.Some application developers have a vague understanding of Android memory management mechanism,which has a certain impact on Android system.In order to solve the problem of memory leakage detection,this paper analyzed the memory management mechanism of Android system at first,and classified them according to the Android component and resource access.On the basis of accurate classification,a memory leak detection model for Android applications based on static analysis method was proposed.Through experimental analysis,the detection accuracy of the model reaches 96.3%,which is better than the automatic analysis tool of Lint,and can effectively detect memory leakage in Android applications.
关 键 词:ANDROID应用 内存泄漏 静态分析方法 泄漏检测算法
分 类 号:TP309[自动化与计算机技术—计算机系统结构]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.38