J4 ›› 2014, Vol. 36 ›› Issue (02): 233-237.
• 论文 • Previous Articles Next Articles
SONG Donghai,BEN Kerong,ZHANG Zhixiang
Received:
Revised:
Online:
Published:
Abstract:
The widespread use of multithread concurrent programs induces more detrimental data race problems, race detection is very important for improving software quality. Combining data race static detection with static program slicing, a classbased data race static detection algorithm for Java multithread programs is proposed. The algorithm obtains function callchains by using function calls, analyzes every field of a class, finds out possible data race, reduces the range of program analysis through static program slicing, and removes the impossible data race by considering the necessity of data race. An example demonstrates that the proposed algorithm can guide programmers to fix software data race defects.
Key words: multithread program;data race;program slice;static analysis;race detection
SONG Donghai,BEN Kerong,ZHANG Zhixiang. A class-based data race static detection algorithm for Java multithread programs [J]. J4, 2014, 36(02): 233-237.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://joces.nudt.edu.cn/EN/
http://joces.nudt.edu.cn/EN/Y2014/V36/I02/233