首页    期刊浏览 2024年12月05日 星期四
登录注册

文章基本信息

  • 标题:Detecting concurrency anomalies in transactional memory programs
  • 本地全文:下载
  • 作者:Lourenço João ; Sousa Diogo ; Teixeira Bruno
  • 期刊名称:Computer Science and Information Systems
  • 印刷版ISSN:1820-0214
  • 电子版ISSN:2406-1018
  • 出版年度:2011
  • 卷号:8
  • 期号:2
  • 页码:534-548
  • DOI:10.2298/CSIS110110007L
  • 出版社:ComSIS Consortium
  • 摘要:

    Concurrent programs may suffer from concurrency anomalies that may lead to erroneous and unpredictable program behaviors. To ensure program correctness, these anomalies must be diagnosed and corrected. This paper addresses the detection of both low- and high-level anomalies in the Transactional Memory setting. We propose a static analysis procedure and a framework to address Transactional Memory anomalies. We start by dealing with the classic case of low-level dataraces, identifying concurrent accesses to shared memory cells that are not protected within the scope of a memory transaction. Then, we address the case of high-level dataraces, bringing the programmer’s attention to pairs of memory transactions that were misspecified and should have been combined into a single transaction. Our framework was applied to a set of programs, collected form different sources, containing well known low- and high-level anomalies. The framework demonstrated to be accurate, confirming the effectiveness of using static analysis techniques to precisely identify concurrency anomalies in Transactional Memory programs.

  • 关键词:testing; verification; concurrency; software transactional memory; static analysis
国家哲学社会科学文献中心版权所有