首页> 外文期刊>ACM SIGPLAN Notices: A Monthly Publication of the Special Interest Group on Programming Languages >Static Prediction of Heap Space Usage for First-Order Functional Programs
【24h】

Static Prediction of Heap Space Usage for First-Order Functional Programs

机译:一阶功能程序堆空间使用的静态预测

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

摘要

We show how to efficiently obtain linear a priori bounds on the heap space consumption of first-order functional programs. The analysis takes space reuse by explicit deallocation into account and also furnishes an upper bound on the heap usage in the presence of garbage collection. It covers a wide variety of examples including, for instance, the familiar sorting algorithms for lists, including quicksort. The analysis relies on a type system with resource annotations. Linear programming (LP) is used to automatically infer derivations in this enriched type system. We also show that integral solutions to the linear programs derived correspond to programs that can be evaluated without any operating system support for memory management. The particular integer linear programs arising in this way are shown to be feasibly solvable under mild assumptions.
机译:我们展示了如何有效地获得一阶函数程序的堆空间消耗的线性先验边界。该分析通过显式释放来考虑空间重用,并且在存在垃圾回收的情况下为堆使用提供了上限。它涵盖了各种各样的示例,例如,包括列表的熟悉的排序算法,包括快速排序。该分析依赖于带有资源注释的类型系统。线性编程(LP)用于自动推断此丰富类型系统中的派生。我们还表明,对线性程序派生的积分解决方案对应于无需任何操作系统支持内存管理即可进行评估的程序。在温和的假设下,以这种方式产生的特定整数线性程序被证明是可行的。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号