首页> 外文学位 >A comprehensive approach to array bounds check elimination for Java.
【24h】

A comprehensive approach to array bounds check elimination for Java.

机译:Java数组边界检查消除的综合方法。

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

摘要

We present a new approach to eliminate array bounds checks in Java by using static analyses. Our approach is based upon a flow-sensitive intraprocedural analysis called variable constraint analysis (VCA). VCA collects constraints between locals related to array references. The array bounds check problem is formulated as solving a system of difference constraints. The analysis builds a small constraint graph for each important point in a method, and then computes the shortest-path weight of the graph. The shortest-path weights from upper bound to array index and from the index to lower bound indicates the safety of checks. Using VCA as the base analysis, we also show how two further analyses can improve the results of VCA. Array field analysis is applied on each class and provides information about some arrays stored in fields, while rectangular array analysis is an interprocedural analysis to approximate the shape of arrays, and is useful for finding rectangular (non-ragged) arrays. (Abstract shortened by UMI.)
机译:我们提出了一种通过使用静态分析来消除Java中的数组边界检查的新方法。我们的方法是基于对流量敏感的过程内分析,称为变量约束分析(VCA)。 VCA收集与数组引用相关的局部变量之间的约束。数组边界检查问题被表述为解决差异约束系统。分析为方法中的每个要点构建一个小的约束图,然后计算该图的最短路径权重。从上限到数组索引以及从索引到下限的最短路径权重指示检查的安全性。使用VCA作为基础分析,我们还展示了两个进一步的分析如何改善VCA的结果。 数组字段分析应用于每个类,并提供有关字段中存储的某些数组的信息,而矩形数组分析是用于近似数组形状的过程间分析,非常有用用于查找矩形(非粗糙)数组。 (摘要由UMI缩短。)

著录项

  • 作者

    Qian, Feng.;

  • 作者单位

    McGill University (Canada).;

  • 授予单位 McGill University (Canada).;
  • 学科 Computer Science.
  • 学位 M.Sc.
  • 年度 2001
  • 页码 83 p.
  • 总页数 83
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号