面向对象处理器中短期对象的硬件并发垃圾收集

Yu Wing Shing, R. Li, A. Fong
{"title":"面向对象处理器中短期对象的硬件并发垃圾收集","authors":"Yu Wing Shing, R. Li, A. Fong","doi":"10.1109/ICEEC.2004.1374444","DOIUrl":null,"url":null,"abstract":"jHISC is an object-oriented processor for embedded system aiming at accelerating Java execution by hardware approach. Garbage collection is one of the critical tasks in a Java Virtual Machine. We have conduct a study of dynamic object allocation and garbage collection behavior of Java program based on SPECjvm 98 benchmark suite and MIDP applications for mobile phone. Life, size, and reference count distribution of Java objects are measured. The study discovered that most Java objects die very young, small in size and have small number reference count. Reference counting object cache with hardware write barrier and object allocator is proposed to provide the hardware concurrent garbage collection for small size objects in jHISC. Hardware support on write barriergreatly reduces the overhead to perform the reference count update. The reference-count collector reclaims the memory occupied by an object immediately afler it becomes garbage. The allocator provides a constant time object allocation. According the performance evaluation, over halfof Java object can be garbage collected by the object cache that make its unnecessary for these object to copy to the main memory.","PeriodicalId":180043,"journal":{"name":"International Conference on Electrical, Electronic and Computer Engineering, 2004. ICEEC '04.","volume":"23 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2004-09-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"Hardware concurrent garbage collection for short-lived objects in an object-oriented processor\",\"authors\":\"Yu Wing Shing, R. Li, A. Fong\",\"doi\":\"10.1109/ICEEC.2004.1374444\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"jHISC is an object-oriented processor for embedded system aiming at accelerating Java execution by hardware approach. Garbage collection is one of the critical tasks in a Java Virtual Machine. We have conduct a study of dynamic object allocation and garbage collection behavior of Java program based on SPECjvm 98 benchmark suite and MIDP applications for mobile phone. Life, size, and reference count distribution of Java objects are measured. The study discovered that most Java objects die very young, small in size and have small number reference count. Reference counting object cache with hardware write barrier and object allocator is proposed to provide the hardware concurrent garbage collection for small size objects in jHISC. Hardware support on write barriergreatly reduces the overhead to perform the reference count update. The reference-count collector reclaims the memory occupied by an object immediately afler it becomes garbage. The allocator provides a constant time object allocation. According the performance evaluation, over halfof Java object can be garbage collected by the object cache that make its unnecessary for these object to copy to the main memory.\",\"PeriodicalId\":180043,\"journal\":{\"name\":\"International Conference on Electrical, Electronic and Computer Engineering, 2004. ICEEC '04.\",\"volume\":\"23 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2004-09-05\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Conference on Electrical, Electronic and Computer Engineering, 2004. ICEEC '04.\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICEEC.2004.1374444\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Conference on Electrical, Electronic and Computer Engineering, 2004. ICEEC '04.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICEEC.2004.1374444","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2

摘要

jHISC是一种面向对象的嵌入式处理器,旨在通过硬件方式加速Java的执行。垃圾收集是Java虚拟机中的关键任务之一。基于SPECjvm 98基准测试套件和手机MIDP应用程序,对Java程序的动态对象分配和垃圾回收行为进行了研究。测量Java对象的寿命、大小和引用计数分布。研究发现,大多数Java对象死得很早,体积小,引用计数少。为了在jHISC中实现小尺寸对象的硬件并发垃圾回收,提出了带硬件写屏障和对象分配器的引用计数对象缓存。对写屏障的硬件支持大大减少了执行引用计数更新的开销。引用计数收集器在对象变成垃圾后立即回收它所占用的内存。分配器提供了一个常量时间的对象分配。根据性能评估,超过一半的Java对象可以被对象缓存垃圾收集,使得这些对象不需要复制到主存。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Hardware concurrent garbage collection for short-lived objects in an object-oriented processor
jHISC is an object-oriented processor for embedded system aiming at accelerating Java execution by hardware approach. Garbage collection is one of the critical tasks in a Java Virtual Machine. We have conduct a study of dynamic object allocation and garbage collection behavior of Java program based on SPECjvm 98 benchmark suite and MIDP applications for mobile phone. Life, size, and reference count distribution of Java objects are measured. The study discovered that most Java objects die very young, small in size and have small number reference count. Reference counting object cache with hardware write barrier and object allocator is proposed to provide the hardware concurrent garbage collection for small size objects in jHISC. Hardware support on write barriergreatly reduces the overhead to perform the reference count update. The reference-count collector reclaims the memory occupied by an object immediately afler it becomes garbage. The allocator provides a constant time object allocation. According the performance evaluation, over halfof Java object can be garbage collected by the object cache that make its unnecessary for these object to copy to the main memory.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信