We use cookies to improve your experience with our site.
Yong Li, Yu Zhang, Yi-Yun Chen, Ming Fu. Formal Reasoning About Lazy-STM Programs[J]. Journal of Computer Science and Technology, 2010, 25(4): 841-852. DOI: 10.1007/s11390-010-1065-8
Citation: Yong Li, Yu Zhang, Yi-Yun Chen, Ming Fu. Formal Reasoning About Lazy-STM Programs[J]. Journal of Computer Science and Technology, 2010, 25(4): 841-852. DOI: 10.1007/s11390-010-1065-8

Formal Reasoning About Lazy-STM Programs

  • Transactional memory (TM) is an easy-using parallel programming model that avoids common problems associated with conventional locking techniques. Several researchers have proposed a large amount of alternative hardware and software TM implementations. However, few ones focus on formal reasoning about these TM programs. In this paper, we propose a framework at assembly level for reasoning about lazy software transactional memory (STM) programs. First, we give a software TM implementation based on lightweight locks. These locks are also one part of the shared memory. Then we define the semantics of the model operationally, and the lightweight locks in transaction are non-blocking, avoiding deadlocks among transactions. Finally we design a logic --- a combination of permission accounting in separation logic and concurrent separation logic --- to verify various properties of concurrent programs based on this machine model. The whole framework is formalized using a proof-carrying-code (PCC) framework.
  • loading

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return