Garbage Collections Delays on Java GUIs

Panagiotis Patros, Michael H. Dawson, K. Kent
{"title":"Garbage Collections Delays on Java GUIs","authors":"Panagiotis Patros, Michael H. Dawson, K. Kent","doi":"10.23919/ICMU.2018.8653592","DOIUrl":null,"url":null,"abstract":"Tablets, smartphones, wearables, etc. project a (usually graphical) interface to their human users that offloads the majority of the computation to a cloud/fog system. Graphical User Interface (GUI) applications are frequently written in high-level programming languages, which provide automatic memory management: placement and deletion of memory objects is not performed manually; instead, an underlying software component called a Garbage Collector (GC) handles this. Nevertheless, the GC policies and algorithms that are best suited for large datacenters are not necessarily ideal for a small, embedded device. Therefore, in this paper, we present GUI GC, a JavaFX GUI benchmark, which we use to compare the performance of the four GC policies of the IBM J9 Java runtime on a resource-constrained environment. Overall, our experiments suggest that the default policy Gencon, outperformed its counterparts. Additionally, the region-based policy, Balanced, did not fully utilize blocking times; thus, using GUI GC, we conducted experiments with explicit GC invocations that measured significant improvements of up to 13.22% when multiple CPUs were available.","PeriodicalId":398108,"journal":{"name":"2018 Eleventh International Conference on Mobile Computing and Ubiquitous Network (ICMU)","volume":"81 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2018 Eleventh International Conference on Mobile Computing and Ubiquitous Network (ICMU)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.23919/ICMU.2018.8653592","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Tablets, smartphones, wearables, etc. project a (usually graphical) interface to their human users that offloads the majority of the computation to a cloud/fog system. Graphical User Interface (GUI) applications are frequently written in high-level programming languages, which provide automatic memory management: placement and deletion of memory objects is not performed manually; instead, an underlying software component called a Garbage Collector (GC) handles this. Nevertheless, the GC policies and algorithms that are best suited for large datacenters are not necessarily ideal for a small, embedded device. Therefore, in this paper, we present GUI GC, a JavaFX GUI benchmark, which we use to compare the performance of the four GC policies of the IBM J9 Java runtime on a resource-constrained environment. Overall, our experiments suggest that the default policy Gencon, outperformed its counterparts. Additionally, the region-based policy, Balanced, did not fully utilize blocking times; thus, using GUI GC, we conducted experiments with explicit GC invocations that measured significant improvements of up to 13.22% when multiple CPUs were available.
Java gui上的垃圾收集延迟
平板电脑、智能手机、可穿戴设备等向人类用户投射一个(通常是图形化的)界面,将大部分计算任务转移到云/雾系统上。图形用户界面(GUI)应用程序通常是用高级编程语言编写的,这些语言提供自动内存管理:内存对象的放置和删除不是手动执行的;相反,一个称为垃圾收集器(GC)的底层软件组件会处理这个问题。然而,最适合大型数据中心的GC策略和算法并不一定适合小型嵌入式设备。因此,在本文中,我们提出了GUI GC,这是一个JavaFX GUI基准,我们使用它来比较IBM J9 Java运行时在资源受限环境下的四种GC策略的性能。总的来说,我们的实验表明,默认策略Gencon的表现优于其他策略。此外,基于区域的均衡策略没有充分利用阻塞时间;因此,使用GUI GC,我们进行了显式GC调用的实验,当多个cpu可用时,测试结果显著提高了13.22%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
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学术官方微信