首页> 外文OA文献 >Static analysis of concurrent objects: May-Happen-in-Parallel fo asynchronous programs with Inter-procedural synchronization
【2h】

Static analysis of concurrent objects: May-Happen-in-Parallel fo asynchronous programs with Inter-procedural synchronization

机译:并发对象的静态分析:具有过程间同步的异步程序的May-Happen-in-Parallel

摘要

This work presents a may-happen-in-parallel analysis with inter-procedural synchronization for languages based in concurrent objects. In this model of concurrency (based on actors) the objects are the concurrency units. The idea behind it is that each object has its own processor. A may-happen-inparallel (MHP) analysis computes pairs of program points that may execute in parallel across different distributed components. This information has been proven to be essential to infer both safety properties (e.g., deadlock freedom) and liveness properties (termination and resource boundedness) of asynchronous programs. Existing MHP analyses take advantage of the synchronization points to learn that one task has finished and thus will not happen in parallel with other tasks that are still active. Our starting point is an existing MHP analysis developed for intra-procedural synchronization, i.e., it only allows synchronizing with tasks that have been spawned inside the current task. This paper leverages such MHP analysis to handle inter-procedural synchronization, i.e., a task spawned by one task can be awaited within a different task. This is challenging because task synchronization goes beyond the boundaries of methods, and thus the inference of MHP relations requires novel extensions to capture inter- procedural dependencies.udWe can distinguish diferent phases in the development of the analysis: (1) The first one where MHF analysis is performed to infer the relations of synchronization that exist between the methods, (2) a second local phase to analyze each method separately and (3) a last phase to composed all information.udAs the problem is undecidable when considering a full concurrent objects programming language, the analysis over-approximates the real parallelism programs. Finally, the implementation of the analysis has been integrated in SACO, a static analyzer of concurrent programs.udThe main technical results [5] have been selected to be published in the proceedings of Static Analysis Symposium 2015: http://sas2015.inria.fr.udIt is the main conference on static analysis (classified as category A in the international ranking CORE).
机译:这项工作提出了基于并发对象的语言的过程间同步的可能同时发生的分析。在这种并发模型(基于参与者)中,对象是并发单元。其背后的思想是每个对象都有其自己的处理器。可能发生的并行(MHP)分析计算可在不同分布式组件之间并行执行的成对程序点。该信息已被证明对于推断异步程序的安全属性(例如,死锁自由)和活动属性(终止和资源有界)都是必不可少的。现有的MHP分析利用同步点来了解一项任务已完成,因此不会与其他仍处于活动状态的任务并行发生。我们的出发点是为过程内同步开发的现有MHP分析,即它仅允许与当前任务内部产生的任务进行同步。本文利用这种MHP分析来处理过程间同步,即可以在另一个任务中等待由一个任务产生的任务。这具有挑战性,因为任务同步超出了方法的范围,因此MHP关系的推断需要新颖的扩展来捕获过程间的依存关系。 ud我们可以区分分析开发的不同阶段:(1)第一个阶段进行MHF分析以推断方法之间存在的同步关系,(2)第二个局部阶段分别分析每种方法,(3)最后一个阶段构成所有信息。 ud由于在考虑完整模型时无法确定问题在使用并发对象编程语言时,该分析过于逼近了实际的并行程序。最后,分析的实现已集成到并发程序的静态分析器SACO中。 ud已选择主要技术结果[5]发表在2015年Static Analysis Symposium会议记录中:http://sas2015.inria这是静态分析的主要会议(在国际排名CORE中被归类为A类)。

著录项

  • 作者

    Gordillo Alguacil Pablo;

  • 作者单位
  • 年度 2015
  • 总页数
  • 原文格式 PDF
  • 正文语种 en
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号