作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2012, Vol. 38 ›› Issue (13): 61-63,74. doi: 10.3969/j.issn.1000-3428.2012.13.017

• 软件技术与数据库 • 上一篇    下一篇

基于距离挖掘的多变量原子性违例检测

胡 敏,陈雨亭   

  1. (上海交通大学软件学院,上海 200240)
  • 收稿日期:2011-11-08 出版日期:2012-07-05 发布日期:2012-07-05
  • 作者简介:胡 敏(1986-),男,硕士研究生,主研方向:数据挖掘;陈雨亭,讲师、博士
  • 基金资助:
    国家自然科学基金资助项目(60970009)

Multi-variable Atomicity Violation Detection Based on Distance Mining

HU Min, CHEN Yu-ting   

  1. (School of Software, Shanghai Jiaotong University, Shanghai 200240, China)
  • Received:2011-11-08 Online:2012-07-05 Published:2012-07-05

摘要: 针对并发程序错误中涉及到的多变量原子性违例检测问题,提出一种动态检测算法。通过计算共享变量间的距离,推测变量之间的相关性,利用相关联的变量关系检测原子性违例错误,确定原子区域的挖掘方法。实验结果表明,该算法能有效挖掘程序中的相关变量,并检测程序中涉及到的多变量原子性违例错误。

关键词: 并发, 相关性, 多变量, 共享变量, 原子性, 错误检测

Abstract: This paper proposes a novel dynamic detection algorithm to detect multi-variable atomicity violation without consulting atomicity specification or annotation. It defines different dimensions of distances among shared memory, and uses the associated variable relationship to detect the atoms violation mistakes, then infers the correlations through them to get the atomic regions. Experimental results show that this algorithm can get the related variables, and test the procedure which involves atomic violations mistakes of multi-variable.

Key words: concurrency, correlation, multi-variable, shared variable, atomicity, mistake detection

中图分类号: