User controlled object sharing between Java VM instances

A. Bierbrauer, K. Nasartschuk, Adam Richard, K. Kent, Peter Shipton
{"title":"User controlled object sharing between Java VM instances","authors":"A. Bierbrauer, K. Nasartschuk, Adam Richard, K. Kent, Peter Shipton","doi":"10.1109/PACRIM.2017.8121934","DOIUrl":null,"url":null,"abstract":"String objects, the most commonly used objects in Java programs, are immutable (read-only) and easily identified. Previous analysis of sharing string objects in the Java Virtual Machine showed promising results, however it is clear that sharing a wider set of objects would result in better performance. Automatic object selection for sharing is non-trivial, because in the current state, only read-only objects can be shared. This attribute cannot easily be determined during runtime by an algorithm; the developer on the other hand can. This paper presents the development of an Application Programmer Interface (API) to allow programmers to use the Java Virtual Machine (JVM) internal sharing functionality. Furthermore, we present the usage of the sharing API using open-source software as real-world test cases. The evaluation shows that the balance between memory savings and start-up time overhead is reasonable.","PeriodicalId":308087,"journal":{"name":"2017 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM)","volume":"80 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-08-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PACRIM.2017.8121934","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

String objects, the most commonly used objects in Java programs, are immutable (read-only) and easily identified. Previous analysis of sharing string objects in the Java Virtual Machine showed promising results, however it is clear that sharing a wider set of objects would result in better performance. Automatic object selection for sharing is non-trivial, because in the current state, only read-only objects can be shared. This attribute cannot easily be determined during runtime by an algorithm; the developer on the other hand can. This paper presents the development of an Application Programmer Interface (API) to allow programmers to use the Java Virtual Machine (JVM) internal sharing functionality. Furthermore, we present the usage of the sharing API using open-source software as real-world test cases. The evaluation shows that the balance between memory savings and start-up time overhead is reasonable.
Java虚拟机实例之间的用户控制对象共享
字符串对象是Java程序中最常用的对象,它是不可变的(只读的)并且易于识别。之前对Java虚拟机中共享字符串对象的分析显示了有希望的结果,但是很明显,共享更广泛的对象集将带来更好的性能。自动选择对象进行共享是非常重要的,因为在当前状态下,只有只读对象可以共享。此属性在运行时无法通过算法轻松确定;另一方面,开发者可以。本文介绍了应用程序编程接口(API)的开发,允许程序员使用Java虚拟机(JVM)内部共享功能。此外,我们使用开源软件作为真实世界的测试用例来展示共享API的使用。评估表明,内存节省和启动时间开销之间的平衡是合理的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信