May-Happen-in-Parallel Analysis for Actor-Based Concurrency

被引:11
|
作者
Albert, Elvira [1 ]
Flores-Montoya, Antonio [2 ]
Genaim, Samir [1 ]
Martin-Martin, Enrique [1 ]
机构
[1] Univ Complutense Madrid, Fac Informat, C Prof Jose Garcia Santesmases 9, E-28040 Madrid, Spain
[2] Tech Univ Darmstadt, Fachbereich Informat, Fachgebiet Software Engn, Hochschulstr 10, D-64289 Darmstadt, Germany
关键词
Actors; analysis; concurrency; may-happen-in-parallel;
D O I
10.1145/2824255
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
This article presents a may-happen-in-parallel (MHP) analysis for languages with actor-based concurrency. In this concurrency model, actors are the concurrency units such that, when a method is invoked on an actor alpha(2) from a task executing on actor alpha(1), statements of the current task in alpha(1) may run in parallel with those of the (asynchronous) call on alpha(2), and with those of transitively invoked methods. The goal of the MHP analysis is to identify pairs of statements in the program that may run in parallel in any execution. Our MHP analysis is formalized as a method-level (local) analysis whose information can be modularly composed to obtain application-level (global) information. The information yielded by the MHP analysis is essential to infer more complex properties of actor-based concurrent programs, for example, data race detection, deadlock freeness, termination, and resource consumption analyses can greatly benefit from the MHP relations to increase their accuracy. We report on MayPar, a prototypical implementation of an MHP static analyzer for a distributed asynchronous language.
引用
收藏
页数:39
相关论文
共 50 条
  • [1] May-Happen-in-Parallel Analysis with Returned Futures
    Albert, Elvira
    Genaim, Samir
    Gordillo, Pablo
    AUTOMATED TECHNOLOGY FOR VERIFICATION AND ANALYSIS (ATVA 2017), 2017, 10482 : 42 - 58
  • [2] May-Happen-in-Parallel Based Deadlock Analysis for Concurrent Objects
    Flores-Montoya, Antonio E.
    Albert, Elvira
    Genaim, Samir
    FORMAL TECHNIQUES FOR DISTRIBUTED SYSTEMS, FMOODS/FORTE 2013, 2013, 7892 : 273 - 288
  • [3] May-happen-in-parallel analysis with returned futures
    Albert, Elvira
    Genaim, Samir
    Gordillo, Pablo
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2017, 10482 LNCS : 42 - 58
  • [4] Region-Based May-Happen-in-Parallel Analysis for C Programs
    Di, Peng
    Sui, Yulei
    Ye, Ding
    Xue, Jingling
    2015 44TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING (ICPP), 2015, : 889 - 898
  • [5] May-Happen-in-Parallel Analysis with Static Vector Clocks
    Zhou, Qing
    Li, Lian
    Wang, Lei
    Xue, Jingling
    Feng, Xiaobing
    PROCEEDINGS OF THE 2018 INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO'18), 2018, : 228 - 240
  • [6] May-Happen-in-Parallel Analysis based on Segment Graphs for Safe ESL Models
    Chen, Weiwei
    Han, Xu
    Doemer, Rainer
    2014 DESIGN, AUTOMATION AND TEST IN EUROPE CONFERENCE AND EXHIBITION (DATE), 2014,
  • [7] May-Happen-in-Parallel Analysis of X10 Programs
    Agarwal, Shivali
    Barik, Rajkishore
    Sarkar, Vivek
    Shyamasundar, Rudrapatna K.
    PROCEEDINGS OF THE 2007 ACM SIGPLAN SYMPOSIUM ON PRINCIPLES AND PRACTICE OF PARALLEL PROGRAMMING PPOPP'07, 2007, : 183 - 193
  • [8] Actor-Based Parallel Dataflow Analysis
    Rodriguez, Jonathan
    Lhotak, Ondrej
    COMPILER CONSTRUCTION, 2011, 6601 : 179 - 197
  • [9] Making It Practical and Effective: Fast and Precise May-Happen-in-Parallel Analysis
    Chen, Congming
    Huo, Wei
    Feng, Xiaobing
    PROCEEDINGS OF THE 21ST INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURES AND COMPILATION TECHNIQUES (PACT'12), 2012, : 469 - 470
  • [10] May-Happen-in-Parallel Analysis for Asynchronous Programs with Inter-Procedural Synchronization
    Albert, Elvira
    Genaim, Samir
    Gordillo, Pablo
    STATIC ANALYSIS (SAS 2015), 2015, 9291 : 72 - 89