首页> 外文OA文献 >Memory usage verification for OO programs.
【2h】

Memory usage verification for OO programs.

机译:OO程序的内存使用验证。

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We present a new type system for an object-oriented (OO) language that characterizes the sizes of data structures and the amount of heap memory required to successfully execute methods that operate on these data structures. Key components of this type system include type assertions that use symbolic Presburger arithmetic expressions to capture data structure sizes, the effect of methods on the data structures that they manipulate, and the amount of memory that methods allocate and deallocate. For each method, we conservatively capture the amount of memory required to execute the method as a function of the sizes of the method’s inputs. The safety guarantee is that the method will never attempt to use more memory than its type expressions specify. We have implemented a type checker to verify memory usages of OO programs. Our experience is that the type system can precisely and effectively capture memory bounds for a wide range of programs.
机译:我们提出了一种面向对象(OO)语言的新型系统,该系统描述了数据结构的大小以及成功执行对这些数据结构进行操作的方法所需的堆内存量。此类型系统的关键组件包括使用符号Presburger算术表达式捕获数据结构大小的类型声明,方法对它们操作的数据结构的影响以及方法分配和取消分配的内存量。对于每种方法,我们都会根据方法的输入大小保守地捕获执行该方法所需的内存量。安全保证是该方法绝不会尝试使用超出其类型表达式指定的内存。我们已经实现了类型检查器,以验证OO程序的内存使用情况。我们的经验是,类型系统可以精确有效地捕获各种程序的内存范围。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号