arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1706.07372cs.PL
收藏

基于Actor程序的并发缺陷及高级开发支持研究

A Study of Concurrency Bugs and Advanced Development Support for Actor-based Programs

Carmen Torres Lopez, Stefan Marr, Hanspeter Mössenböck, Elisa Gonzalez Boix

摘要:

参与者模型是开发并发应用程序的一个有吸引力的基础,因为参与者是通过异步消息进行通信并且不共享状态的隔离并发实体。因此,它们避免了诸如数据竞争之类的并发错误,但一般来说对并发错误并不免疫。本研究对文献中报道的基于角色的程序中的并发错误进行了分类。此外,它还分析了错误,以确定导致它们的模式以及它们的可观察行为。基于这种分类,我们进一步分析了文献,发现目前的静态分析和测试方法集中在通信死锁和消息协议违反。但是,它们没有提供识别活锁和行为死锁的解决方案。在这项研究中获得的见解可以用来提高调试支持演员为基础的程序与新的调试技术,以确定复杂的并发错误的根本原因。

英文摘要:

The actor model is an attractive foundation for developing concurrent applications because actors are isolated concurrent entities that communicate through asynchronous messages and do not share state. Thereby, they avoid concurrency bugs such as data races, but are not immune to concurrency bugs in general. This study taxonomizes concurrency bugs in actor-based programs reported in literature. Furthermore, it analyzes the bugs to identify the patterns causing them as well as their observable behavior. Based on this taxonomy, we further analyze the literature and find that current approaches to static analysis and testing focus on communication deadlocks and message protocol violations. However, they do not provide solutions to identify livelocks and behavioral deadlocks. The insights obtained in this study can be used to improve debugging support for actor-based programs with new debugging techniques to identify the root cause of complex concurrency bugs.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑