摘要
随着计算机硬件多核处理器的发展,多线程并发程序的设计也变得更加重要,同时并发程序设计带来的缺陷问题也越来越多。数据竞争是并发缺陷中最普遍的问题,数据竞争会导致程序的执行违反预期,情况严重的可能导致软件的崩溃。本文主要介绍了目前的数据竞争检测现状,同时对已有的检测方法的原理和效果进行了分析和研究,最后展望了未来数据竞争检测方法的发展方向。
With the development of computer hardware multi-core processors, the design of multi-threaded concurrent programs has become more important, and the defects caused by concurrent programming have become more and more. Data competition is the most common problem in concurrent defects. Data competition can lead to the execution of the program in violation of expectations. Serious circumstances may lead to software crash. This paper mainly introduces the current status of data competition detection, and analyzes and studies the principle and effect of existing detection methods. Finally, it forecasts the development direction of future data competition detection methods.
出处
《信息技术与信息化》
2019年第12期171-173,共3页
Information Technology and Informatization
关键词
并发程序
数据竞争
检测方法
concurrent program
data competition
detection method