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

HTML  XML Download Download as PDF (Size: 1087KB)  PP. 393-405  
DOI: 10.4236/jsea.2019.1210024    609 Downloads   1,673 Views  Citations

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.

Copyright © 2024 by authors and Scientific Research Publishing Inc.

Creative Commons License

This work and the related PDF file are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.