计算机科学 > 程序设计语言
[提交于 2020年4月15日 (v1),最后修订于 2022年5月18日 (此版本, v6)]
标题:Efficient, Near Complete and Often Sound Hybrid Dynamic Data Race Prediction (extended version)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Dynamic data race prediction aims to identify races based on a single program run represented by a trace. The challenge is to remain efficient while being as sound and as complete as possible. Efficient means a linear run-time as otherwise the method unlikely scales for real-world programs. We introduce an efficient, near complete and often sound dynamic data race prediction method that combines the lockset method with several improvements made in the area of happens-before methods. By near complete we mean that the method is complete in theory but for efficiency reasons the implementation applies some optimizations that may result in incompleteness. The method can be shown to be sound for two threads but is unsound in general. We provide extensive experimental data that shows that our method works well in practice.