首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到1条相似文献,搜索用时 1 毫秒
1.
Multicore and multi-threaded processors have become the norm for modern processors.Accordingly,concurrent programs have become more and more prevalent despite being difficult to write and understand.Although errors are highly likely to appear in concurrent code,conventional error detection methods such as model checking,theorem proving,and code analysis do not scale smoothly to concurrent programs.Testing is an indispensable technique for detecting concurrency errors,but it involves a great deal of manual work and is inefficient.This paper presents an automatic method for detecting concurrency errors in classes in object-oriented languages.The method uses a heuristic algorithm to automatically generate test cases that can effectively trigger errors.Then,each test case is executed automatically and a fast method is adopted to identify the actual concurrency error from anomalous run results.We have implemented a prototype of the method and applied it to some typical Java classes.Evaluation shows that our method is more effective and faster than previous work.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号