The Implementation of a Communication Deadlock Analysis Based on the Theory of Deadlock Analysis for the Actor Model ()
ABSTRACT
We present a unique approach for communication deadlock analysis for actor-model which has an under-approximated analysis result. Our analysis detects narrowly defined communication deadlocks by finding a cyclic dependency relation in a novel dependency graph called the slave dependency graph. The slave dependency graph is based on a new relationship between Actors, slave dependency, defined by us. After that, we implement this theory in Soot, an analysis tool for Java, and use it to analyze actor-based Java program realized by Akka, a Java library that allows actor-based programming. We argue that our analysis can detect a specific kind of communication deadlock with the precise result, but has many limitations.
Share and Cite:
Xi, Y. , Zhang, J. and Xiang, F. (2019) The Implementation of a Communication Deadlock Analysis Based on the Theory of Deadlock Analysis for the Actor Model.
Journal of Software Engineering and Applications,
12, 393-405. doi:
10.4236/jsea.2019.1210024.