Albert Albiol, ElviraGenaim, SamirGordillo, Pablo2023-06-182023-06-182015-09https://hdl.handle.net/20.500.14352/25003Publicado en Lecture Notes in Computer Science, vol. 9291A 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 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.engMay-Happen-in-Parallel Analysis for Asynchronous Programs with Inter-Procedural Synchronizationconference paperhttp://link.springer.com/chapter/10.1007/978-3-662-48288-9_5open access004.4Informática (Informática)Programación de ordenadores (Informática)1203.17 Informática1203.23 Lenguajes de Programación