Skip to main navigation Skip to search Skip to main content

May-happen-in-parallel analysis for asynchronous programs with inter-procedural synchronization

  • Elvira Albert
  • , Samir Genaim
  • , Pablo Gordillo

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

14 Scopus citations

Abstract

A may-happen-in-parallel (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 (e.g., 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. The analysis has been implemented and it can be tried online.

Original languageEnglish
Title of host publicationStatic Analysis- 22nd International Symposium, SAS 2015, Proceedings
EditorsSandrine Blazy, Thomas Jensen
PublisherSpringer Verlag
Pages72-89
Number of pages18
ISBN (Print)9783662482872
DOIs
StatePublished - 1 Jan 2015
Externally publishedYes
Event22nd International Static Analysis Symposium, SAS 2015 - Saint-Malo, France
Duration: 9 Sep 201511 Sep 2015

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume9291
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd International Static Analysis Symposium, SAS 2015
Country/TerritoryFrance
CitySaint-Malo
Period9/09/1511/09/15

ASJC Scopus subject areas

  • Theoretical Computer Science
  • General Computer Science

Fingerprint

Dive into the research topics of 'May-happen-in-parallel analysis for asynchronous programs with inter-procedural synchronization'. Together they form a unique fingerprint.

Cite this