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

计算机工程 ›› 2012, Vol. 38 ›› Issue (18): 30-33. doi: 10.3969/j.issn.1000-3428.2012.18.008

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

并发程序原子图挖掘技术

朱一清   

  1. (上海交通大学软件学院,上海 200240)
  • 收稿日期:2011-12-12 修回日期:2012-02-07 出版日期:2012-09-20 发布日期:2012-09-18
  • 作者简介:朱一清(1987-),男,硕士研究生,主研方向:并发程序分析
  • 基金资助:
    国家自然科学基金资助面上项目(60673120)

Atom Graph Mining Technology in Concurrent Program

ZHU Yi-qing   

  1. (School of Software, Shanghai Jiaotong University, Shanghai 200240, China)
  • Received:2011-12-12 Revised:2012-02-07 Online:2012-09-20 Published:2012-09-18

摘要: 针对当前并发程序的不确定性和复杂性,以及程序原子性质获取困难的问题,提出一种并发程序原子性质提取方法。将并发程序中的同步区域转化为与并发操作相关的并发操作图后,采用频繁子图挖掘算法自动提取程序中的原子图,使其能刻画并发程序的原子性质,包括并发操作以及操作之间的控制依赖关系。实验结果证明,该方法能以较低的误测率有效提取并发程序的原子性质。

关键词: 并发程序, 原子图, 原子性质, 多线程, 频繁子图挖掘

Abstract: Because of the complexity and uncertainty of parallel behaviors, currently it is difficult to get atom rules from concurrent programs. Aiming at the problem, this paper presents a new atom property extraction method in concurrent program. A technique to automatically extract atom property from programs forms graph structure by using a frequent subgraph mining algorithm. It targets at inferring atomicity of both low level read-write operations as well as high level functional operations on multiple variables with rich structure information. Experimental result shows that this method manages to find atom property with a relatively high accuracy.

Key words: concurrent program, atom graph, atom property, multi-threading, frequency subgraph mining

中图分类号: