首页> 外文会议>International Conference on Embedded and Ubiquitous Computing(EUC 2005); 20051206-09; Nagasaki(JP) >Hardware Concurrent Garbage Collection for Short-Lived Objects in Mobile Java Devices
【24h】

Hardware Concurrent Garbage Collection for Short-Lived Objects in Mobile Java Devices

机译:移动Java设备中短期对象的硬件并发垃圾回收

获取原文
获取原文并翻译 | 示例

摘要

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. In this paper, 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 phones. Life, size, and reference count distribution of Java objects are measured. We found most Java objects die very young, small in size and have small number reference counts. 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 barrier greatly reduces the overhead to perform the reference count update. The reference counting collector reclaims the memory occupied by object immediately after the object become garbage. The hardware allocator provides a constant time object allocation. From the investigation, over half of Java objects can be garbage collected by the object cache that makes it unnecessary for these objects to copy to the main memory.
机译:jHISC是面向嵌入式系统的面向对象处理器,旨在通过硬件方法加速Java执行。垃圾收集是Java虚拟机中的关键任务之一。在本文中,我们基于SPECjvm 98基准套件和用于手机的MIDP应用程序,对Java程序的动态对象分配和垃圾回收行为进行了研究。测量Java对象的寿命,大小和引用计数分布。我们发现大多数Java对象都死得很年轻,尺寸很小,引用计数也很少。提出了带有硬件写屏障和对象分配器的引用计数对象缓存,以为jHISC中的小型对象提供硬件并发垃圾回收。对写屏障的硬件支持大大减少了执行引用计数更新的开销。在对象变为垃圾后,引用计数收集器立即回收该对象占用的内存。硬件分配器提供恒定时间的对象分配。通过调查,对象高速缓存可以对超过一半的Java对象进行垃圾回收,从而无需将这些对象复制到主内存中。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号