English

On Reachability in Parameterized Phaser Programs

Programming Languages 2021-05-13 v3

Abstract

We address the problem of statically checking safety properties (such as assertions or deadlocks) for parameterized phaser programs. Phasers embody a non-trivial and modern synchronization construct used to orchestrate executions of parallel tasks. This generic construct supports dynamic parallelism with runtime registrations and deregistrations of spawned tasks. It generalizes many synchronization patterns such as collective and point-to-point schemes. For instance, phasers can enforce barriers or producer-consumer synchronization patterns among all or subsets of the running tasks. We consider in this work programs that may generate arbitrarily many tasks and phasers. We study different formulations of the verification problem and propose an exact procedure that is guaranteed to terminate for some reachability problems even in the presence of unbounded phases and arbitrarily many spawned tasks. In addition, we prove undecidability results for several problems on which our procedure cannot be guaranteed to terminate.

Keywords

Cite

@article{arxiv.1811.07142,
  title  = {On Reachability in Parameterized Phaser Programs},
  author = {Zeinab Ganjei and Ahmed Rezine and Ludovic Henrio and Petru Eles and Zebo Peng},
  journal= {arXiv preprint arXiv:1811.07142},
  year   = {2021}
}