首页> 外文会议>Fourth IEEE International Conference on Software Testing, Verification, and Validation >Multicore SDK: A Practical and Efficient Deadlock Detector for Real-World Applications
【24h】

Multicore SDK: A Practical and Efficient Deadlock Detector for Real-World Applications

机译:Multicore SDK:适用于实际应用的实用高效的死锁检测器

获取原文

摘要

Traditional deadlock detection algorithms depend on finding cycles in lock graphs created from the application code. Usually, these approaches suffer from scalability and performance problems and cannot handle large industrial strength applications. The main problem for lack of scalability and poor performance is caused by the size of the lock graphs that have to be analyzed. In this paper we show a new two-phase deadlock detection algorithm that is efficient both in terms of memory utilization and time and also very scalable. In the first phase of the algorithm we consider a reduced lock graph based on program locations. We filter out certain locks that cannot participate in a deadlock by analyzing the lock graph created in the first phase. In the second phase of the algorithm we create an even smaller lock graph considering only those locks that were not filtered in the first phase. Finally, the second phase lock graph is analyzed for cycles to find potential deadlocks in the application. We present results from various open-source and commercial software, and also compare the performance of our algorithm with traditional approach.
机译:传统的死锁检测算法依赖于在从应用程序代码创建的锁图中查找循环。通常,这些方法遭受可伸缩性和性能问题的困扰,并且不能处理大型工业强度的应用。缺乏可伸缩性和性能差的主要问题是由必须分析的锁定图的大小引起的。在本文中,我们展示了一种新的两阶段死锁检测算法,该算法在内存利用率和时间方面都非常有效,并且具有很高的可伸缩性。在算法的第一阶段,我们考虑基于程序位置的简化锁图。通过分析在第一阶段中创建的锁图,我们筛选出了某些无法参与死锁的锁。在算法的第二阶段,我们仅考虑在第一阶段未过滤的那些锁,创建一个甚至更小的锁图。最后,分析第二个锁相图的周期,以查找应用程序中的潜在死锁。我们展示了来自各种开源和商业软件的结果,还比较了我们的算法与传统方法的性能。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号