paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Kard: lightweight data race detection with per-thread memory protection

Kard:基于每线程内存保护的轻量级数据竞争检测
ASPLOS Proceedings of the 26th ACM International Conference on Architectural Support for Programming Languages and Operating Systems2021匹配度 1/10 · 该论文研究动态数据竞争检测,属于程序分析与运行时/并发系统方向,但用户画像的核心是静态分析、LLM/Agent 与程序分析的交叉、浮点程序分析和贝叶斯程序分析,均未涉及。其主题与用户当前关注的研究问题几乎没有直接交集。引用 16 inbox
Adil Ahmad, Sangho Lee, Pedro Fonseca, Byoungyoung Lee
crossref: 2026-09-12

AI 速览

一句话:提出 Kard,利用每线程内存保护实现低开销动态数据竞争检测,避免昂贵编译器插桩。

多线程程序中的数据竞争缺陷难以发现,动态检测是有前景的方向。然而,面向 commodity hardware 的现有动态检测器通常依赖昂贵的编译器内存访问插桩,导致开销过高,难以在所有开发与测试场景中使用。本文提出 Kard,一种基于每线程内存保护的轻量级数据竞争检测方法,用内存保护机制替代或减少编译器插桩来监控线程的内存访问,从而降低动态检测的运行时开销。摘要未给出具体实现细节与实验数据;其贡献定位是让 commodity hardware 上的动态数据竞争检测更实用,适用于更广泛的开发与测试流程。

问题
现有动态数据竞争检测器在 commodity hardware 上因编译器插桩内存访问而开销过高,难以广泛用于开发和测试。
方法
Kard 采用每线程内存保护机制来轻量级地监控线程内存访问并检测数据竞争,避免昂贵的编译器插桩。
评估
摘要未提供评估细节;从摘要可知其目标是降低 commodity hardware 上动态检测的开销,使其可用于更广泛的开发与测试场景。
原文摘要(Abstract)

Finding data race bugs in multi-threaded programs has proven challenging. A promising direction is to use dynamic detectors that monitor the program’s execution for data races. However, despite extensive work on dynamic data race detection, most proposed systems for commodity hardware incur prohibitive overheads due to expensive compiler instrumentation of memory accesses; hence, they are not efficient enough to be used in all development and testing settings.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6152,
  title = {Kard: lightweight data race detection with per-thread memory protection},
  author = {Adil Ahmad and Sangho Lee and Pedro Fonseca and Byoungyoung Lee},
  booktitle = {ASPLOS},
  year = {2021},
  doi = {10.1145/3445814.3446727}
}