跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2506.20127 (cs)
[提交于 2025年6月25日]

标题:Dynamic Race Detection With O(1) Samples

作者:Mosaad Al Thokair, Minjian Zhang, Umang Mathur, Mahesh Viswanathan
查看论文《Dynamic Race Detection With O(1) Samples》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Happens before-based dynamic analysis is the go-to technique for detecting data races in large scale software projects due to the absence of false positive reports. However, such analyses are expensive since they employ expensive vector clock updates at each event, rendering them usable only for in-house testing. In this paper, we present a sampling-based, randomized race detector that processes only constantly many events of the input trace even in the worst case. This is the first sub-linear time (i.e., running in o(n) time where n is the length of the trace) dynamic race detection algorithm; previous sampling based approaches like Pacer run in linear time (i.e., O(n)). Our algorithm is a property tester for HB-race detection -- it is sound in that it never reports any false positive, and on traces that are far, with respect to hamming distance, from any race-free trace, the algorithm detects an HB-race with high probability. Our experimental evaluation of the algorithm and its comparison with state-of-the-art deterministic and sampling based race detectors shows that the algorithm does indeed have significantly low running time, and detects races quite often.
评论: Preprint version of the paper published in PACMPL, Volume 7, Issue POPL (POPL 2023). Official version available at https://doi.org/10.1145/3571238
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2506.20127 [cs.PL]
  (或者 arXiv:2506.20127v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2506.20127
期刊参考: In Proceedings of the ACM on Programming Languages (PACMPL), Volume 7, Issue POPL, January 2023, Article 45, 28 pages. ACM
相关 DOI: https://doi.org/10.1145/3571238

提交历史

来自:Minjian Zhang
[v1] 2025年6月25日 星期三 04:46:35 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2025-06
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站