首页    期刊浏览 2024年11月27日 星期三
登录注册

文章基本信息

  • 标题:Proving Opacity of a Pessimistic STM
  • 本地全文:下载
  • 作者:Simon Doherty ; Brijesh Dongol ; John Derrick
  • 期刊名称:LIPIcs : Leibniz International Proceedings in Informatics
  • 电子版ISSN:1868-8969
  • 出版年度:2017
  • 卷号:70
  • 页码:35:1-35:17
  • DOI:10.4230/LIPIcs.OPODIS.2016.35
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:Transactional Memory (TM) is a high-level programming abstraction for concurrency control that provides programmers with the illusion of atomically executing blocks of code, called transactions. TMs come in two categories, optimistic and pessimistic, where in the latter transactions never abort. While this simplifies the programming model, high-performing pessimistic TMs can be complex. In this paper, we present the first formal verification of a pessimistic software TM algorithm, namely, an algorithm proposed by Matveev and Shavit. The correctness criterion used is opacity, formalising the transactional atomicity guarantees. We prove that this pessimistic TM is a refinement of an intermediate opaque I/O-automaton, known as TMS2. To this end, we develop a rely-guarantee approach for reducing the complexity of the proof. Proofs are mechanised in the interactive prover Isabelle.
  • 关键词:Pessimistic STMs; Opacity; Verification; Isabelle; Simulation; TMS2
国家哲学社会科学文献中心版权所有