Testing Components for Thread Safety
AssigneeMicrosoft Corporation
InventorsSebastian C. Burckhardt, Christopher W. Dern, Madanlal S. Musuvathi, Roy P. Tan
Life of this patent
Estimating the term…
Loading patent…
AssigneeMicrosoft Corporation
InventorsSebastian C. Burckhardt, Christopher W. Dern, Madanlal S. Musuvathi, Roy P. Tan
Estimating the term…
A checking system is described for determining whether a component is thread safe in the course of interacting with two or threads in a client environment. The checking system uses a manual, automatic, or semi-automatic technique to generate a test. The checking system then defines a set of coarse-grained observations for the test, in which the component is assumed to exhibit linearizability when interacting with threads. The set of coarse-grained observations may include both complete and “stuck” histories. The checking system then generates a set of fine-grained observations for the tests; here, the checking system makes no assumptions as to the linearizability of the component. The checking system identifies potential linearizability errors as those entries in the set of fine-grained observations that have no counterpart entries in the set of coarse-grained observations. The checking system may rely on a stateless model checking module to perform its functions.
A method for testing a component for thread safety, comprising:
A safety checking system for testing a component for thread safety, comprising:
A computer readable medium for storing computer readable instructions, the computer readable instructions providing a safety checking system when executed by one or more processing devices, the computer readable instructions comprising:
Dependencies are inferred from the claim text.