Slim VM: optimistic partial program loading for connected embedded Java virtual machines

Gregor Wagner, A. Gal, M. Franz
{"title":"Slim VM: optimistic partial program loading for connected embedded Java virtual machines","authors":"Gregor Wagner, A. Gal, M. Franz","doi":"10.1145/1411732.1411749","DOIUrl":null,"url":null,"abstract":"Embedded systems are inherently limited in terms of local storage capacity. This limitation conflicts with the demands of modern virtual machine platforms, which require large amounts of library code to be present on each client device. These conflicting requirements are often resolved by providing specialized embedded versions of the standard libraries, but even these stripped down libraries consume significant resources.\n We present a solution for \"always connected\" mobile devices that is based on a zero footprint paradigm. In our approach, all code resides on a remote host. Only those parts of applications and libraries that are likely to be needed are transferred to the mobile device. Since it is difficult to predict statically which library parts will be needed at runtime, we combine static analysis and lazy code loading to transfer code with a high likelihood of execution ahead of time while other code (such as exception code) remains on the remote host and is provided only on demand. This allows us to perform not only dead code elimination, but also aggressive elimination of cold (or potentially unused) code.\n The granularity of our approach is flexible all the way down to individual basic blocks. Our method achieves total code size reductions of up to 95%.","PeriodicalId":169989,"journal":{"name":"Principles and Practice of Programming in Java","volume":"41 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-09-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Principles and Practice of Programming in Java","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1411732.1411749","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

Abstract

Embedded systems are inherently limited in terms of local storage capacity. This limitation conflicts with the demands of modern virtual machine platforms, which require large amounts of library code to be present on each client device. These conflicting requirements are often resolved by providing specialized embedded versions of the standard libraries, but even these stripped down libraries consume significant resources. We present a solution for "always connected" mobile devices that is based on a zero footprint paradigm. In our approach, all code resides on a remote host. Only those parts of applications and libraries that are likely to be needed are transferred to the mobile device. Since it is difficult to predict statically which library parts will be needed at runtime, we combine static analysis and lazy code loading to transfer code with a high likelihood of execution ahead of time while other code (such as exception code) remains on the remote host and is provided only on demand. This allows us to perform not only dead code elimination, but also aggressive elimination of cold (or potentially unused) code. The granularity of our approach is flexible all the way down to individual basic blocks. Our method achieves total code size reductions of up to 95%.
Slim VM:连接的嵌入式Java虚拟机的乐观部分程序加载
嵌入式系统本身在本地存储容量方面是有限的。这种限制与现代虚拟机平台的需求相冲突,后者需要在每个客户机设备上呈现大量的库代码。这些相互冲突的需求通常通过提供标准库的专用嵌入式版本来解决,但即使是这些简化的库也会消耗大量资源。我们提出了一个基于零足迹范例的“始终连接”移动设备的解决方案。在我们的方法中,所有代码都驻留在远程主机上。只有应用程序和库中可能需要的部分才会传输到移动设备。由于很难静态地预测在运行时需要哪些库部分,因此我们将静态分析和惰性代码加载结合起来,以便传输具有较高提前执行可能性的代码,而其他代码(如异常代码)保留在远程主机上,仅在需要时提供。这使得我们不仅可以消除死代码,还可以积极地消除冷代码(或可能未使用的代码)。我们的方法的粒度一直到单个基本块都是灵活的。我们的方法实现了总代码大小减少高达95%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信