Can We Make It Faster? Efficient May-Happen-in-Parallel Analysis Revisited

被引:6
作者
Chen, Congming [1 ,2 ]
Huo, Wei [1 ]
Li, Lung [1 ]
Feng, Xiaobing [1 ]
Xing, Kai [3 ]
机构
[1] Chinese Acad Sci, State Key Lab Comp Architecture, Beijing, Peoples R China
[2] Chinese Acad Sci, Grad Univ, Beijing, Peoples R China
[3] Univ Sci & Technol China, Sch Comp Sci, Anhui, Peoples R China
来源
2012 13TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED COMPUTING, APPLICATIONS, AND TECHNOLOGIES (PDCAT 2012) | 2012年
基金
中国国家自然科学基金;
关键词
Concurrent Program; Control Flow Analysis; Conservative; Efficiency; Precision;
D O I
10.1109/PDCAT.2012.59
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
May-Happen-in-Parallel (MHP) analysis is a very important and fundamental mechanism to facilitate concurrent program analysis, optimization and even concurrency bug detection. However, the inefficiency in its design and implementation keeps MHP analysis away from being practical and effective. In this paper, we investigate the state-of-art of iterative data flow based (IDFB) MHP analysis and propose a new design and corresponding systematic implementation. Specifically, we address the most severe efficiency problems in node process order of the work-list in the original approach, and resolve them in our design and implementation by using the concept of parallel level to avoid redundant node visits. Our intensive experimental study shows that the proposed design and implementation have a relative speed up of 29.02x compared with the original implementation, moreover, it achieves a relative speed up of 10.00x comparing to the state-of-art of non-IDFB approach which is claimed to be more efficient than the original IDFB approach. Our design and implementation are capable of achieving an order of magnitude efficiency improvement comparing to both IDFB and non-IDFB approaches.
引用
收藏
页码:59 / 64
页数:6
相关论文
共 18 条
  • [1] May-Happen-in-Parallel Analysis of X10 Programs
    Agarwal, Shivali
    Barik, Rajkishore
    Sarkar, Vivek
    Shyamasundar, Rudrapatna K.
    [J]. PROCEEDINGS OF THE 2007 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING PPOPP'07, 2007, : 183 - 193
  • [2] [Anonymous], 1992, ACM LETT PROGRAM LAN
  • [3] Efficient computation of May-Happen-in-Parallel information for concurrent Java']Java programs
    Barik, Rajkishore
    [J]. LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING, 2006, 4339 : 152 - 169
  • [4] Butenhof DR., 1997, Programming with POSIX Threads
  • [5] Callahan David., 1988, PADD 88, P100
  • [6] Duesterwald Evelyn, 1991, TAV4, P36, DOI DOI 10.1145/120807.120811
  • [7] TOPOLOGICAL SORTING OF LARGE NETWORKS
    KAHN, AB
    [J]. COMMUNICATIONS OF THE ACM, 1962, 5 (11) : 558 - 562
  • [8] Kamil A., 2005, P 18 INT WORKSHOP LA, P185
  • [9] Featherweight X10: A Core Calculus for Async-Finish Parallelism
    Lee, Jonathan K.
    Palsberg, Jens
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (05) : 25 - 36
  • [10] Li L., 2004, P 17 INT WORKSH LANG