【24h】

Efficient memory-reference checks for real-time java

机译:实时Java的高效内存引用检查

获取原文
获取原文并翻译 | 示例

摘要

The scoped-memory feature is central to the Real-Time Specification for Java. It allows greater control over memory management, in particular the deallocation of objects without the use of a garbage collector. To preserve the safety of storage references associated with Java since its inception, the use of scoped memory is constrained by a set of rules in the specification. While a program's adherence to the rules can be partially checked at compile-time, undecidability issues imply that some---perhaps, many---checks may be required at run-time. Poor implementations of those run-time checks could adversely affect overall performance and predictability, the latter being a founding principle of the specification.In this paper we present efficient algorithms for managing scoped memories and the checks they impose on programs. Implementations and results published to date require time linear in the depth of scope nesting; our algorithms operate in constant time. We describe our approach and present experiments quantifying the gains in efficiency.
机译:范围内存功能是Java实时规范的核心。它允许在不使用垃圾回收器的情况下更好地控制内存管理,尤其是对象的重新分配。为了保护自Java诞生以来与之关联的存储引用的安全性,范围内存的使用受到规范中一组规则的约束。尽管可以在编译时部分检查程序是否遵守规则,但是不确定性问题意味着在运行时可能需要进行某些(也许很多)检查。这些运行时检查的执行不当可能会对整体性能和可预测性产生不利影响,后者是本规范的基础。在本文中,我们提出了用于管理范围内存的有效算法以及它们施加在程序上的检查。迄今为止发布的实施方案和结果需要在范围嵌套深度上保持时间线性;我们的算法在恒定时间内运行。我们描述了我们的方法,并提出了量化效率收益的实验。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号