arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.10855cs.PL
收藏

不准确跟踪的数据竞争预测

Data Race Prediction for Inaccurate Traces

Martin Sulzmann, Kai Stadtmüller

摘要:

基于之前发生的数据竞争预测方法从事件的踪迹推断部分顺序以检查一个事件是否在另一个事件之前发生。如果两个两个写事件是无序的,那么它们处于竞争中。我们观察到,常见的跟踪方法不能保证跟踪顺序对应于实际的程序运行。追踪不准确的后果是报告的结果(种族)不准确。我们引入诊断方法来检查(1)一个种族是否保证是正确的,而不管任何潜在的不准确性,(2)可能是不正确的,由于不准确的跟踪。我们已经完全实现了这种方法,并提供了一个经验的比较与国家的最先进的发生之前,基于比赛的预测,如FastTrack和SHB。

英文摘要:

Happens-before based data race prediction methods infer from a trace of events a partial order to check if one event happens before another event. If two two write events are unordered, they are in a race. We observe that common tracing methods provide no guarantee that the trace order corresponds to an actual program run. The consequence of inaccurate tracing is that results (races) reported are inaccurate. We introduce diagnostic methods to examine if (1) a race is guaranteed to be correct regardless of any potential inaccuracies, (2) maybe is incorrect due to inaccurate tracing. We have fully implemented the approach and provide for an empirical comparison with state of the art happens-before based race predictors such as FastTrack and SHB.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑