跳到主要导航 跳到搜索 跳到主要内容

Formal analysis and verification of the PSTM architecture using CSP

  • East China Normal University
  • University of Novi Sad

科研成果: 期刊稿件文章同行评审

摘要

Starting with the analysis of the source codes of the Python Software Transactional Memory (PSTM) architecture, this paper applies process algebra CSP to formally verify the architecture at a fine-grained level. We analyze the communication process and components of the architecture from multiple perspectives and establish models describing the communication behaviors of the PSTM architecture. We use model checker PAT to automatically simulate and verify the established model. After adapting the traditional transactional properties to the PSTM architecture, we analyze and verify five properties for the PSTM architecture, including deadlock freeness, atomicity, isolation, consistency and optimism. The verification results indicate that all the properties are valid. Based on the judgement of the execution logic of the communication procedure in the PSTM architecture, we can conclude that the architecture can have a proper communication and can guarantee atomicity, isolation, consistency and optimism. Besides, we also provide a case study with an application scenario and propose a corollary that the value of the shared counter is equal to the number of parallel processes. We verify whether the case study system can satisfy all the conditions of corollary from both positive and negative perspectives. The results show that the corollary is tenable.

源语言英语
文章编号110559
期刊Journal of Systems and Software
165
DOI
出版状态已出版 - 7月 2020

指纹

探究 'Formal analysis and verification of the PSTM architecture using CSP' 的科研主题。它们共同构成独一无二的指纹。

引用此