%A YANG Lu, YU Shou-wen and YAN Jian-feng %T Type-2 Fuzzy Logic Based Multi-threaded Data Race Detection %0 Journal Article %D 2017 %J Computer Science %R 10.11896/j.issn.1002-137X.2017.12.027 %P 135-143 %V 44 %N 12 %U {https://www.jsjkx.com/CN/abstract/article_16455.shtml} %8 2018-12-01 %X Multi-threaded mechanism has been widely used in software development because of its advantages.However,with the growth of program scales,there are plenty of potential parallel defects in multi-threaded programs.The most common parallel defects are data race and deadlock.However,none of the traditional defect detection methods take into account the uncertainty of time sequence analysis and run-time environment.And it is hard to calculate the probability of parallel defects to generate a priority order list based on the probability.To solve these problems,we proposed a data race detection method based on type-2 fuzzy logic.This method considers the influence of run-time environment factors,and uses the traditional parallel defects detection methods as pre-processing step.Then it builds a time sequence analysis model for the target program based on type-2 fuzzy logic and hidden Markov model.It can calculate the probability of all the potential defects,then generates a priority order list for software developers to deal with defects and allocate resources.