计算机科学 > 计算机科学中的逻辑
[提交于 2015年12月31日]
标题:Collapsing Threads Safely with Soft Invariants
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Canonical abstraction is a static analysis technique that represents states as 3-valued logical structures, and produces finite abstract systems. Despite providing a finite bound, these abstractions may still suffer from the state explosion problem. Notably, for concurrent programs with arbitrary interleaving, if threads in a state are abstracted based on their location, then the number of locations will be a combinatorial factor in the size of the statespace. We present an approach using canonical abstraction that avoids this state explosion by "collapsing" all of the threads in a state into a single abstract representative. Properties of threads that would be lost by the abstraction, but are needed for verification, are retained by defining conditional "soft invariant" instrumentation predicates. This technique is used to adapt previous models for verifying linearizability of nonblocking concurrent data structure algorithms, resulting in exponentially smaller statespaces.
提交历史
来自:David Friggens[v1] 2015年12月31日 星期四 00:23:29 UTC