首页> 外文会议>IEEE International Symposium on Parallel Distributed Processing >Identifying ad-hoc synchronization for enhanced race detection
【24h】

Identifying ad-hoc synchronization for enhanced race detection

机译:识别增强种族检测的Ad-hoc同步

获取原文
获取外文期刊封面目录资料

摘要

Parallel programs contain a surprising number of ad-hoc synchronization operations. Ad-hoc synchronization operations are loops that busy-wait on condition variables. Current race detectors produce unnecessary warnings (false positives) when ad-hoc synchronization is used. False positives are also generated when programmers use synchronization primitives that are unknown to race detectors, for instance when programmers switch libraries. These shortcomings may result in an overwhelming number of false positives, dissuading programmers from using race detectors. This paper shows that ad-hoc synchronization operations can be detected automatically. The method requires no user intervention such as annotations and has been implemented in the race detector Helgrind+. Evaluation results on various benchmarks confirm that Helgrind+ is aware of all synchronizations in programs, reliably reports true races, and produces few false alarms. A surprising result is that with the new technique, Helgrind+ can analyze synchronization libraries, so special knowledge about these libraries is not needed in the detector.
机译:并行程序包含令人惊讶的ad-hoc同步操作数。 ad-hoc同步操作是忙碌 - 等待条件变量的循环。当使用ad-hoc同步时,当前的竞赛探测器产生不必要的警告(假阳性)。当程序员使用竞争检测器未知的同步基元时,也会生成误报,例如当程序员切换库时。这些缺点可能导致压倒性的误报,劝阻程序员使用种族探测器。本文显示可以自动检测ad-hoc同步操作。该方法不需要用户干预,例如注释,并且已经在RACE探测器HELGRING + 中实现。各种基准测试的评估结果确认Helgrind + 了解程序中的所有同步,可靠地报告真正的比赛,并产生一些误报警报。令人惊讶的结果是,通过新技术,Helgrind + 可以分析同步库,因此在探测器中不需要对这些库的特殊知识。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号