The Implementation of a Communication Deadlock Analysis Based on the Theory of Deadlock Analysis for the Actor Model

Yupeng Xi, Jianrui Zhang, Furi Xiang · Journal of Software Engineering and Applications · 2019

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.

Read the paper · More papers on PaperTik