【24h】

Language Support for Regions

机译:区域语言支持

获取原文

摘要

Region-based memory management systems structure memory by grouping objects in regions under program control. Memory is reclaimed by deleting regions, freeing all objects stored therein. Our compiler for C with regions, RC, prevents unsafe region deletions by keeping a count of references to each region. Using type annotations that make the structure of a program's regions more explicit, we reduce the overhead of reference counting from a maximum of 27% to a maximum of 11% on a suite of realistic benchmarks. We generalise these annotations in a region type system whose main novelty is the use of existentially quantified abstract regions to represent pointers to objects whose region is partially or totally unknown.
机译:基于区域的内存管理系统通过在程序控制下对区域中的对象进行分组来构造内存。通过删除区域,释放存储在其中的所有对象来回收内存。我们的带有区域的C编译器RC通过保留对每个区域的引用计数来防止删除不安全的区域。使用使程序区域结构更明确的类型注释,在一组实际的基准测试中,我们将引用计数的开销从最多27%减少到最多11%。我们在区域类型系统中概括这些注释,其主要新颖之处在于使用存在的量化抽象区域来表示指向其区域部分或完全未知的对象的指针。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号