首页> 外文期刊>Parallel and Distributed Systems, IEEE Transactions on >ASN: A Dynamic Barrier-Based Approach to Confirmation of Deadlocks from Warnings for Large-Scale Multithreaded Programs
【24h】

ASN: A Dynamic Barrier-Based Approach to Confirmation of Deadlocks from Warnings for Large-Scale Multithreaded Programs

机译:ASN:一种基于动态屏障的方法,可从大型多线程程序的警告中确认死锁

获取原文
获取原文并翻译 | 示例

摘要

Many large-scale multithreaded programs incur deadlock bugs. Existing deadlock warning detection techniques only report warning scenarios, which may or may not be real deadlocks. Each warning should be further verified on whether it may manifest into a real deadlock. For this purpose, a number of active randomized testing schedulers have been developed to trigger them, and yet pervious experiments show that their deadlock confirmation probability can be low. This paper presents ASN, a novel barrier-based randomized scheduler that triggers real deadlocks with high probabilities. We exploit the insights that in a confirmation run, the threads involved in a real deadlock should properly acquire one or more sets of locks prior to deadlocking. ASN automatically identifies three interesting sets of such positions. It guides the threads participating in a given warning to stay at these position sets in turn. When all the threads are staying at the last position set, ASN checks whether any deadlock that matches with the given warning has been triggered. We have evaluated ASN on 15 deadlock bugs in a suite of real-world multithreaded programs. The results show that ASN either confirms more deadlocks from the benchmark suite or triggers the same deadlocks with significantly higher probabilities than existing schedulers.
机译:许多大型多线程程序会产生死锁错误。现有的死锁警告检测技术仅报告警告情况,这可能是也可能不是真正的死锁。应进一步验证每个警告是否会显示为真正的死锁。为此,已经开发了许多主动的随机测试调度程序来触发它们,但是先前的实验表明它们的死锁确认概率可能较低。本文介绍了ASN,这是一种新颖的基于屏障的随机调度程序,可触发具有高概率的实际死锁。我们利用以下见解:在确认运行中,实际死锁中涉及的线程应在死锁之前正确获取一组或多组锁。 ASN自动识别此类位置的三个有趣的集合。它引导参与给定警告的线程依次停留在这些位置集。当所有线程都停留在最后一个位置集时,ASN检查是否已触发任何与给定警告匹配的死锁。我们已经在一组实际的多线程程序中对15个死锁错误进行了ASN评估。结果表明,ASN可以从基准套件中确认更多死锁,或者以与现有调度程序相比更高的概率触发相同的死锁。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号