actionscript3.o垃圾回收机制及优化策略 optimization strategies of actionscript3.0 garbage collection mechanism.pdfVIP

  • 7
  • 0
  • 约9.89千字
  • 约 3页
  • 2017-08-27 发布于上海
  • 举报

actionscript3.o垃圾回收机制及优化策略 optimization strategies of actionscript3.0 garbage collection mechanism.pdf

actionscript3.o垃圾回收机制及优化策略 optimization strategies of actionscript3.0 garbage collection mechanism

2012年第佃期 文章编号:1009-2552(2012)10—0037—03中图分类号:TP391文献标识码:A 李铅勇 (渭南师范学院,陕西渭南714000) 摘要:ActionScript3.0比以前版本具有更快的执行速度和更加强大的应用程序接口,但一些新 引入的特性没有相应的资源管理方法,给Flash开发人员带来了令人头疼的垃圾回收问题。为 此,分析了AcfionScript3.0垃圾回收时采用的两种方法,“引用计数法”和“标记清除法”,总 结了垃圾回收的主要特点,最后给出了几种回收和节省内存的优化策略。实验结果表明,这些 优化策略能有效提高垃圾回收率,改善应用程序的性能,对开发人员具有一定的参考价值。 关键词:ActionSeript3.0;FlashPlayer;垃圾回收;优化策略 of OptimizationstrategiesActionScript3.0garbage collectionmechanism LIZhi—yong Teachers (Weinan University,Weinan714000,ShanxiProvince,China) witlI and Flash fastercodeexecution flewAPI Abstract:AcfionScfipt3.0empowersdevelopers many than someofthe introducedfeaturesdonothavetheresoul℃e enhancements versions,but newly previous Flash headachescoHecfion management,broughtdevelopers garbage problems.Therefore,thispaper in andmark thetwomethodsused coUection:reference analyzes ActionScript3.0garbage counting the coHecfion and are characters, strategies sweeping,summedup garbage optimization 6yen.The showedthatthese could therateof experiments strategieseffectivelyimprove garbageeoHeefion,improve the ofthe havesomereferencevaluetothe application,and developers. performance strategies Keywords:ActionScript3.0;FlashPlayer;garbagecoUeetion;optimization 0 引言

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档