首页> 外文期刊>Concurrency and computation: practice and experience >A bidirectional trace simplification approach based on a context switch linked list for concurrent programs
【24h】

A bidirectional trace simplification approach based on a context switch linked list for concurrent programs

机译:基于并发程序的上下文切换链接列表的双向跟踪简化方法

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

摘要

Concurrent programs are notoriously difficult to debug due to shared memory and the non-determined nature of thread scheduling. Frequent context switches add a huge burden on developers in reasoning about concurrency bugs. To alleviate this problem, we present a bidirectional trace simplification approach based on a context switch linked list. First, we calculate the dependence relations, including local dependences, synchronization dependences, and remote read/write dependences. Second, we construct a context switch linked list according to the original buggy trace. Then, we backward refactor the context switch linked list in sequence to extend thread execution intervals. Finally, we forward check the context switch linked list in sequence to ensure that no nodes can be further merged. We have conducted experiments on eight Java multi-threaded programs to evaluate our approach. The results show that our approach performs better than or is comparable to the compared static approaches in effectiveness and efficiency.
机译:由于共享内存和线程调度的不确定特性,并发程序很难调试。频繁的上下文切换给开发人员在并发错误的推理上增加了巨大的负担。为了缓解这个问题,我们提出了一种基于上下文切换链表的双向跟踪简化方法。首先,我们计算依赖关系,包括局部依赖,同步依赖和远程读/写依赖。其次,我们根据原始的越野车跟踪构造一个上下文切换链接列表。然后,我们按顺序向后重构上下文切换链接列表,以延长线程执行间隔。最后,我们按顺序转发上下文切换链接列表,以确保无法进一步合并任何节点。我们已经对八个Java多线程程序进行了实验,以评估我们的方法。结果表明,我们的方法在有效性和效率上优于或优于静态方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号