{"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}
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.