首页> 外文会议>Parallel computing technologies >Visualizing Potential Deadlocks in Multithreaded Programs
【24h】

Visualizing Potential Deadlocks in Multithreaded Programs

机译:可视化多线程程序中的潜在死锁

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

摘要

It is important to analyze and identify potential deadlocks resident in multithreaded programs from a successful deadlock-free execution, because the nondeterministic nature of such programs may hide the errors during testing. Visualizing the runtime behaviors of locking operations makes it possible to debug such errors effectively, because it provides intuitive understanding of different feasible executions caused by nondeterminism. However, with previous visualization techniques, it is hard to capture alternate orders imposed by locks due to their representation of a partial-order over locking operations. This paper presents a novel graph, called lock-causality graph, which represents alternate orders over locking operations. A visualization tool implements the graph, and demonstrates its power using the classical dining-philosophers problem written in Java. The experiment result shows that the graph provides a simple but powerful representation of potential deadlocks in an execution instance not deadlocked.
机译:从成功的无死锁执行中分析和识别驻留在多线程程序中的潜在死锁很重要,因为此类程序的不确定性可能会在测试期间隐藏错误。可视化锁定操作的运行时行为可以有效地调试此类错误,因为它可以直观地了解由不确定性引起的不同可行执行。但是,使用以前的可视化技术,由于锁表示的是偏序而不是锁操作,因此很难捕获由锁施加的替代顺序。本文提出了一种新颖的图,称为锁因果图,它表示了锁定操作的替代顺序。可视化工具可实现图形,并使用Java编写的经典餐饮哲学家问题演示其功能。实验结果表明,该图提供了一个简单但功能强大的表示未死锁的执行实例中潜在死锁的表示。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号