ActionScript3.0垃圾回收机制及优化策略  被引量:1

Optimization strategies of ActionScript3.0 garbage collection mechanism

在线阅读下载全文

作  者:李智勇[1] 

机构地区:[1]渭南师范学院,陕西渭南714000

出  处:《信息技术》2012年第10期37-39,共3页Information Technology

基  金:教育部高等学校本科教学改革工程--渭南师范学院传媒工程系教育技术学国家级特色专业建设项目(TS11772);陕西省2009年特色专业建设点项目(教育技术学;46);陕西省2009年省级实验教学示范中心项目(传媒工程实验教学中心;24)的阶段性研究成果

摘  要:ActionScript3.0比以前版本具有更快的执行速度和更加强大的应用程序接口,但一些新引入的特性没有相应的资源管理方法,给Flash开发人员带来了令人头疼的垃圾回收问题。为此,分析了ActionScript3.0垃圾回收时采用的两种方法,"引用计数法"和"标记清除法",总结了垃圾回收的主要特点,最后给出了几种回收和节省内存的优化策略。实验结果表明,这些优化策略能有效提高垃圾回收率,改善应用程序的性能,对开发人员具有一定的参考价值。ActionScript3.0 empowers Flash developers with faster code execution and many new API enhancements than previous versions,but some of the newly introduced features do not have the resource management,brought Flash developers headaches garbage collection problems.Therefore,this paper analyzes the two methods used in ActionScript3.0 garbage collection: reference counting and mark sweeping,summed up the garbage collection characters,and optimization strategies are given.The experiments showed that these strategies could effectively improve the rate of garbage collection,improve the performance of the application,and have some reference value to the developers.

关 键 词:ACTIONSCRIPT3 0 FLASH PLAYER 垃圾回收 优化策略 

分 类 号:TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象