使用服务验尸器工具诊断OSGi平台中的过期引用

Kiev Gama, D. Donsez
{"title":"使用服务验尸器工具诊断OSGi平台中的过期引用","authors":"Kiev Gama, D. Donsez","doi":"10.1145/1462735.1462749","DOIUrl":null,"url":null,"abstract":"The OSGi Service Platform is becoming the de facto middleware for the deployment of dynamic modular Java-based applications. It gives the possibility to install, to activate, to update and to uninstall application modules without needing to restart the host Java Virtual Machine. However, modules run on the memory space, and it is not possible to ensure that objects from unavailable (e.g. uninstalled) modules will no longer be referenced, since it depends on developers to correctly provide code that will handle the corresponding OSGi events which inform the departure of a module. Such errors, resulted from the mishandling of the dynamic arrival and departure of modules, are a hard to detect problem described in the OSGi specification as Stale References. It may lead to inconsistencies in application's behavior, state and memory. So far there were no tools addressing the diagnostics of this issue. In this demo we present the live utilization of our experimental tool, Service Coroner, which helps OSGi application developers and administrators in the diagnosis of stale references. Our presentation focus on the diagnosis of actual OSGi based applications that present the occurrence of stale references upon dynamic updates of modules.","PeriodicalId":340887,"journal":{"name":"Companion '08","volume":"113 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2008-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Using the service coroner tool for diagnosing stale references in the OSGi platform\",\"authors\":\"Kiev Gama, D. Donsez\",\"doi\":\"10.1145/1462735.1462749\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The OSGi Service Platform is becoming the de facto middleware for the deployment of dynamic modular Java-based applications. It gives the possibility to install, to activate, to update and to uninstall application modules without needing to restart the host Java Virtual Machine. However, modules run on the memory space, and it is not possible to ensure that objects from unavailable (e.g. uninstalled) modules will no longer be referenced, since it depends on developers to correctly provide code that will handle the corresponding OSGi events which inform the departure of a module. Such errors, resulted from the mishandling of the dynamic arrival and departure of modules, are a hard to detect problem described in the OSGi specification as Stale References. It may lead to inconsistencies in application's behavior, state and memory. So far there were no tools addressing the diagnostics of this issue. In this demo we present the live utilization of our experimental tool, Service Coroner, which helps OSGi application developers and administrators in the diagnosis of stale references. Our presentation focus on the diagnosis of actual OSGi based applications that present the occurrence of stale references upon dynamic updates of modules.\",\"PeriodicalId\":340887,\"journal\":{\"name\":\"Companion '08\",\"volume\":\"113 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2008-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Companion '08\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/1462735.1462749\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Companion '08","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/1462735.1462749","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 5

摘要

OSGi服务平台正在成为部署基于java的动态模块化应用程序的事实上的中间件。它提供了安装、激活、更新和卸载应用程序模块的可能性,而无需重新启动主机Java虚拟机。然而,模块在内存空间上运行,并且不可能确保来自不可用(例如卸载)模块的对象不再被引用,因为它依赖于开发人员正确地提供代码来处理相应的OSGi事件,这些事件通知模块的离开。这种错误是由于对模块的动态到达和离开处理不当造成的,是OSGi规范中描述为陈旧引用的难以检测的问题。它可能导致应用程序的行为、状态和内存不一致。到目前为止,还没有解决这个问题的诊断工具。在这个演示中,我们展示了我们的实验工具Service验尸官的实时使用情况,它可以帮助OSGi应用程序开发人员和管理员诊断过时的引用。我们的演示集中于诊断实际的基于OSGi的应用程序,这些应用程序在动态更新模块时出现过时的引用。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Using the service coroner tool for diagnosing stale references in the OSGi platform
The OSGi Service Platform is becoming the de facto middleware for the deployment of dynamic modular Java-based applications. It gives the possibility to install, to activate, to update and to uninstall application modules without needing to restart the host Java Virtual Machine. However, modules run on the memory space, and it is not possible to ensure that objects from unavailable (e.g. uninstalled) modules will no longer be referenced, since it depends on developers to correctly provide code that will handle the corresponding OSGi events which inform the departure of a module. Such errors, resulted from the mishandling of the dynamic arrival and departure of modules, are a hard to detect problem described in the OSGi specification as Stale References. It may lead to inconsistencies in application's behavior, state and memory. So far there were no tools addressing the diagnostics of this issue. In this demo we present the live utilization of our experimental tool, Service Coroner, which helps OSGi application developers and administrators in the diagnosis of stale references. Our presentation focus on the diagnosis of actual OSGi based applications that present the occurrence of stale references upon dynamic updates of modules.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信