Translating Active Objects into Colored Petri Nets for Communication Analysis - Archive ouverte HAL Access content directly
Conference Papers Year : 2017

Translating Active Objects into Colored Petri Nets for Communication Analysis

(1) , (1) , (1) , (1) , (1)
1
Anastasia Gkolfi
  • Function : Author
  • PersonId : 1030390
Crystal Chang Din
  • Function : Author
  • PersonId : 1030391
Einar Broch Johnsen
  • Function : Author
  • PersonId : 1015680
Martin Steffen
  • Function : Author
  • PersonId : 880464
Ingrid Chieh Yu
  • Function : Author
  • PersonId : 1030392

Abstract

Actor-based languages attract attention for their ability to scale to highly parallel architectures. Active objects combine the asynchronous communication of actors with object-oriented programming by means of asynchronous method calls and synchronization on futures. However, the combination of asynchronous calls and synchronization introduces communication cycles which lead to a form of communication deadlock. This paper addresses such communication deadlocks for ABS, a formally defined active object language which additionally supports cooperative scheduling to express complex distributed control flow, using first-class futures and explicit process release points. Our approach is based on a translation of the semantics of ABS into colored Petri nets, such that a particular program corresponds to a marking of this net. We prove the soundness of this translation and demonstrate by example how the implementation of this net can be used to analyze ABS programs with respect to communication deadlock.
Fichier principal
Vignette du fichier
459025_1_En_6_Chapter.pdf (1.13 Mo) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

hal-01760859 , version 1 (06-04-2018)

Licence

Attribution - CC BY 4.0

Identifiers

Cite

Anastasia Gkolfi, Crystal Chang Din, Einar Broch Johnsen, Martin Steffen, Ingrid Chieh Yu. Translating Active Objects into Colored Petri Nets for Communication Analysis. 7th International Conference on Fundamentals of Software Engineering (FSEN), Apr 2017, Teheran, Iran. pp.84-99, ⟨10.1007/978-3-319-68972-2_6⟩. ⟨hal-01760859⟩
114 View
112 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More