Concurrency Assertions â Providing the Right Semantics to ASSERT Statements
- đ¤ Speaker: Madan Musuvathi, Microsoft Research
- đ Date & Time: Thursday 24 November 2011, 14:00 - 15:00
- đ Venue: Small lecture theatre, Microsoft Research Ltd, 7 J J Thomson Avenue (Off Madingley Road), Cambridge
Abstract
This work is motivated by the observation that existing implementations of ASSERT statements are broken in important ways for concurrent programs. Concurrency assertions fix these problems by 1) Evaluating the assertion expression atomically, and 2) Taking the program checkpoint atomically with the evaluation on a failure
These ensure that the assertion expression is not concurrently modified during evaluation and that the checkpoint generated on a failure represents a valid violating program state.
Apart from fixing the semantics, concurrency assertions improve the chances of an assertion failure by continuously evaluating the assertion expression for a randomly chosen time window. During this window, any concurrent write that violates the expression will trigger a failure.
We have implemented concurrency assertions for C/C++ programs. In this talk, I will describe our design choices, our implementation, and our experience in using concurrency assertions on SQL Server.
This is work in progress, and done jointly with Jacob Burnim (U.C. Berkeley) and Shaz Qadeer (MSR).
Series This talk is part of the Microsoft Research Cambridge, public talks series.
Included in Lists
- All Talks (aka the CURE list)
- bld31
- Cambridge Centre for Data-Driven Discovery (C2D3)
- Cambridge talks
- Chris Davis' list
- Guy Emerson's list
- Interested Talks
- Microsoft Research Cambridge, public talks
- ndk22's list
- ob366-ai4er
- Optics for the Cloud
- personal list
- PMRFPS's
- rp587
- School of Technology
- Small lecture theatre, Microsoft Research Ltd, 7 J J Thomson Avenue (Off Madingley Road), Cambridge
- Trust & Technology Initiative - interesting events
- yk449
Note: Ex-directory lists are not shown.
![[Talks.cam]](/static/images/talkslogosmall.gif)

Madan Musuvathi, Microsoft Research
Thursday 24 November 2011, 14:00-15:00