Passer à la navigation principale Passer à la recherche Passer au contenu principal

Automated Synthesis of Asynchronizations

  • University of Toronto
  • Université Paris 7
  • Microsoft Research

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collection › Contribution à une conférence › Revue par des pairs

1 Citation (Scopus)

Résumé

Asynchronous programming is widely adopted for building responsive and efficient software, and modern languages such as C# provide async/await primitives to simplify the use of asynchrony. In this paper, we propose an approach for refactoring a sequential program into an asynchronous program that uses async/await, called asynchronization. The refactoring process is parametrized by a set of methods to replace with asynchronous versions, and it is constrained to avoid introducing data races. We investigate the delay complexity of enumerating all data race free asynchronizations, which quantifies the delay between outputting two consecutive solutions. We show that this is polynomial time modulo an oracle for solving reachability in sequential programs. We also describe a pragmatic approach based on an interprocedural data-flow analysis with polynomial-time delay complexity. The latter approach has been implemented and evaluated on a number of non-trivial C# programs extracted from open-source repositories.

langue originaleAnglais
titreStatic Analysis - 29th International Symposium, SAS 2022, Proceedings
rédacteurs en chefGagandeep Singh, Caterina Urban
EditeurSpringer Science and Business Media Deutschland GmbH
Pages135-159
Nombre de pages25
ISBN (imprimé)9783031223075
Les DOIs
étatPublié - 1 janv. 2022
Evénement29th International Static Analysis Symposium, SAS 2022 - Auckland, Nouvelle-Zélande
Durée: 5 déc. 2022 → 7 déc. 2022

Série de publications

NomLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume13790 LNCS
ISSN (imprimé)0302-9743
ISSN (Electronique)1611-3349

Une conférence

Une conférence29th International Static Analysis Symposium, SAS 2022
Pays/TerritoireNouvelle-Zélande
La villeAuckland
période5/12/22 → 7/12/22

Empreinte digitale

Examiner les sujets de recherche de « Automated Synthesis of Asynchronizations ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation