Prioritizing Constraint Evaluation for Efficient Points-to Analysis

被引:0
|
作者
Nasre, Rupesh [1 ]
Govindarajan, R. [1 ]
机构
[1] Indian Inst Sci, Bangalore 560012, Karnataka, India
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Pervasive use of pointers in large-scale real-world applications continues to make points-to analysis an important optimization-enabler. Rapid growth of software systems demands a scalable pointer analysis algorithm. A typical inclusion-based points-to analysis iteratively evaluates constraints and computes a points-to solution until a fixpoint. In each iteration, (i) points-to information is propagated across directed edges in a constraint graph G and (ii) more edges are added by processing the points-to constraints. We observe that prioritizing the order in which the information is processed within each of the above two steps can lead to efficient execution of the points-to analysis. While earlier work in the literature focuses only on the propagation order, we argue that the other dimension, that is, prioritizing the constraint processing, can lead to even higher improvements on how fast the fixpoint of the points-to algorithm is reached. This becomes especially important as we prove that finding an optimal sequence for processing the points-to constraints is NP-Complete. The prioritization scheme proposed in this paper is general enough to be applied to any of the existing points-to analyses. Using the prioritization framework developed in this paper, we implement prioritized versions of Andersen's analysis, Deep Propagation, Hardekopf and Lin's Lazy Cycle Detection and Bloom Filter based points-to analysis. In each case, we report significant improvements in the analysis times (33%, 47%, 44%, 20% respectively) as well as the memory requirements for a large suite of programs, including SPEC 2000 benchmarks and five large open source programs.
引用
收藏
页码:267 / 276
页数:10
相关论文
共 50 条
  • [1] Exploiting the Structure of the Constraint Graph for Efficient Points-to Analysis
    Nasre, Rupesh
    [J]. ACM SIGPLAN NOTICES, 2012, 47 (11) : 121 - 132
  • [2] Push-Pull Constraint Graph for Efficient Points-to Analysis
    Ratnakar, Bollu
    Nasre, Rupesh
    [J]. ACM SIGPLAN NOTICES, 2014, 49 (11) : 25 - 33
  • [3] Prioritizing pointer analysis algorithm based on points-to updating
    PLA Information Engineering University, Zhengzhou
    450002, China
    [J]. Ruan Jian Xue Bao, 11 (2486-2498):
  • [4] Points-To Analysis with Efficient Strong Updates
    Lhotak, Ondrej
    Chung, Kwok-Chiang Andrew
    [J]. ACM SIGPLAN NOTICES, 2011, 46 (01) : 3 - 15
  • [5] Points-To Analysis with Efficient Strong Updates
    Lhotak, Ondrej
    Chung, Kwok-Chiang Andrew
    [J]. POPL 11: PROCEEDINGS OF THE 38TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2011, : 3 - 15
  • [6] A constraint-weaving approach to points-to analysis for AspectJ
    Sun, Qiang
    Chen, Yuting
    Zhao, Jianjun
    [J]. FRONTIERS OF COMPUTER SCIENCE, 2014, 8 (01) : 52 - 68
  • [7] A constraint-weaving approach to points-to analysis for AspectJ
    Qiang SUN
    Yuting CHEN
    Jianjun ZHAO
    [J]. Frontiers of Computer Science., 2014, 8 (01) - 68
  • [8] A constraint-weaving approach to points-to analysis for AspectJ
    Qiang Sun
    Yuting Chen
    Jianjun Zhao
    [J]. Frontiers of Computer Science, 2014, 8 : 52 - 68
  • [9] Efficient points-to analysis for whole-program analysis
    Liang, DL
    Harrold, MJ
    [J]. SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS, 1999, 1687 : 199 - 215
  • [10] Points-to Analysis: A Fine-Grained Evaluation
    Lundberg, Jonas
    Lowe, Welf
    [J]. JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2012, 18 (20) : 2851 - 2878