期刊文献+
共找到2篇文章
< 1 >
每页显示 20 50 100
Certifying Concurrent Programs Using Transactional Memory 被引量:1
1
作者 李隆 张昱 +1 位作者 陈意云 李勇 《Journal of Computer Science & Technology》 SCIE EI CSCD 2009年第1期110-121,共12页
Transactional memory (TM) is a new promising concurrency-control mechanism that can avoid many of the pitfalls of the traditional lock-based techniques. TM systems handle data races between threads automatically so ... Transactional memory (TM) is a new promising concurrency-control mechanism that can avoid many of the pitfalls of the traditional lock-based techniques. TM systems handle data races between threads automatically so that programmers do not have to reason about the interaction of threads manually. TM provides a programming model that may make the development of multi-threaded programs easier. Much work has been done to explore the various implementation strategies of TM systems and to achieve better performance, but little has been done on how to formally reason about programs using TM and how to make sure that such reasoning is sound. In this paper, we focus on the semantics of transactional memory and present a proof-carrying code (PCC) system for reasoning about programs using TM . We formalize our reasoning with respect to the TM semantics, prove its soundness, and use examples to demonstrate its effectiveness. 展开更多
关键词 program verification transactional memory proof-carrying code concurrent program safety
原文传递
Formal Reasoning About Lazy-STM Programs 被引量:1
2
作者 李勇 张昱 +1 位作者 陈意云 付明 《Journal of Computer Science & Technology》 SCIE EI CSCD 2010年第4期841-852,共12页
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 hard... 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 axe also one part of the shared memory. Then we define the semantics of the model operationally, and the lightweight locks in transaction axe 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. 展开更多
关键词 program verification transactional memory (TM) proof-carrying-code permission accounting in separation logic
原文传递
上一页 1 下一页 到第
使用帮助 返回顶部