Generational Garbage Collection Algorithm Based on Lifespan Prediction

Xin Ren, Ying Zhangxu
{"title":"Generational Garbage Collection Algorithm Based on Lifespan Prediction","authors":"Xin Ren, Ying Zhangxu","doi":"10.1109/W-FICLOUD.2016.47","DOIUrl":null,"url":null,"abstract":"This paper proposes a new method of generational garbage collection (GC) algorithm for the issue of low efficiency of garbage collection in embedded virtual machine. Through predicting the lifespan of the allocating objects, the objects predicted of long lifespan can be distributed into the old generation directly, and the copy numbers from the young generation to old generation were decreased, thus the executed time of GC is cute down. In the aspect of generational collection, the young generation implements a non-suspended mode, which the objects allocation and GC are done simultaneously, the old generation uses a integrating strategy, combined lazy-buddy algorithm with mark-sweep algorithm, to achieve the quick allocation and recycle. It not only avoids the copy operation on objects, but also controls the amounts of memory fragments. The experimental on v8 JavaScript engine results shows that this algorithm can reduce the GC time by about 23.9%, operation time by around 17.2%, and the overall operation performance of the system is enhanced evidently.","PeriodicalId":441441,"journal":{"name":"2016 IEEE 4th International Conference on Future Internet of Things and Cloud Workshops (FiCloudW)","volume":"343 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2016 IEEE 4th International Conference on Future Internet of Things and Cloud Workshops (FiCloudW)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/W-FICLOUD.2016.47","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

This paper proposes a new method of generational garbage collection (GC) algorithm for the issue of low efficiency of garbage collection in embedded virtual machine. Through predicting the lifespan of the allocating objects, the objects predicted of long lifespan can be distributed into the old generation directly, and the copy numbers from the young generation to old generation were decreased, thus the executed time of GC is cute down. In the aspect of generational collection, the young generation implements a non-suspended mode, which the objects allocation and GC are done simultaneously, the old generation uses a integrating strategy, combined lazy-buddy algorithm with mark-sweep algorithm, to achieve the quick allocation and recycle. It not only avoids the copy operation on objects, but also controls the amounts of memory fragments. The experimental on v8 JavaScript engine results shows that this algorithm can reduce the GC time by about 23.9%, operation time by around 17.2%, and the overall operation performance of the system is enhanced evidently.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于寿命预测的分代垃圾回收算法
针对嵌入式虚拟机垃圾回收效率低的问题,提出了一种新的分代垃圾回收算法。通过预测分配对象的寿命,可以将预期寿命较长的对象直接分配到老一代中,减少了从年轻代到老一代的拷贝数,从而降低了GC的执行时间。在分代收集方面,年轻代采用非挂起模式,对象分配和GC同时进行;老代采用整合策略,将懒哥们儿算法与标记-扫描算法相结合,实现快速分配和回收。它不仅避免了对对象的复制操作,而且还控制了内存片段的数量。在v8 JavaScript引擎上的实验结果表明,该算法可使GC时间减少约23.9%,操作时间减少约17.2%,系统的整体操作性能得到明显提高。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
A Social Network Analysis of Tweets during the Gaza War, Summer 2014 IoT Standardization - The Approach in the Field of Data Protection as a Model for Ensuring Compliance of IoT Applications? A Survey on Network Security Monitoring Systems Smart Mobile-Based Emergency Management and Notification System Investigating Metrics to Build a Benchmark Tool for Complex Event Processing Systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1