Hardware concurrent garbage collection for short-lived objects in mobile Java']Java devices

被引:0
|
作者
Yau, CH [1 ]
Tan, YY [1 ]
Fong, AS [1 ]
Yu, WS [1 ]
机构
[1] City Univ Hong Kong, Dept Elect Engn, Hong Kong, Hong Kong, Peoples R China
关键词
D O I
暂无
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页码:47 / 56
页数:10
相关论文
共 50 条
  • [1] Hardware concurrent garbage collection for short-lived objects in an object-oriented processor
    Shing, YW
    Li, R
    Fong, AS
    [J]. ICEEC'04: 2004 INTERNATIONAL CONFERENCE ON ELECTRICAL, ELECTRONIC AND COMPUTER ENGINEERING, PROCEEDINGS, 2004, : 285 - 288
  • [2] A Java']Java garbage collection workload
    Lee, WH
    [J]. PROCEEDINGS OF THE 7TH JOINT CONFERENCE ON INFORMATION SCIENCES, 2003, : 561 - 566
  • [3] Hardware objects for Java']Java
    Schoeberl, Martin
    Thalinger, Christian
    Korsholm, Stephan
    Ravn, Anders P.
    [J]. ISORC 2008: 11TH IEEE SYMPOSIUM ON OBJECT/COMPONENT/SERVICE-ORIENTED REAL-TIME DISTRIBUTED COMPUTING - PROCEEDINGS, 2008, : 445 - +
  • [4] Java']Java garbage collection - a generic solution?
    Meehan, A
    Lunney, T
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2001, 43 (02) : 151 - 155
  • [5] Mobile Java']Java objects
    Hayton, RJ
    Bursell, MH
    Donaldson, DI
    Herbert, AJ
    [J]. MIDDLEWARE'98: IFIP INTERNATIONAL CONFERENCE ON DISTRIBUTED SYSTEMS PLATFORMS AND OPEN DISTRIBUTED PROCESSING, 1998, : 323 - 338
  • [6] Mobile Java']Java objects
    Herbert, AJ
    Hayton, RJ
    Bursell, M
    [J]. BT TECHNOLOGY JOURNAL, 1999, 17 (02) : 115 - 125
  • [7] Garbage collection in an embedded Java']Java virtual machine
    Cha, Chang-Il
    Kim, Hyung-Jun
    Hwang, Kyu-Jeong
    Kim, Sang-Wook
    Lee, Sang-Yun
    Won, Hee-Sun
    [J]. KNOWLEDGE-BASED INTELLIGENT INFORMATION AND ENGINEERING SYSTEMS, PT 1, PROCEEDINGS, 2006, 4251 : 443 - 450
  • [8] Java']Java garbage collection for real time systems
    Petit-Bianco, A
    [J]. DR DOBBS JOURNAL, 1998, 23 (10): : 20 - +
  • [9] Analysis and Optimizations of Java']Java Full Garbage Collection
    Li, Haoyu
    Wu, Mingyu
    Chen, Haibo
    [J]. 9TH ASIA-PACIFIC SYSTEMS WORKSHOP 2018 (APSYS'18), 2018,
  • [10] Garbage collection for large memory Java']Java applications
    Krall, A
    Tomsich, P
    [J]. HIGH-PERFORMANCE COMPUTING AND NETWORKING, PROCEEDINGS, 1999, 1593 : 895 - 905