Specifying and Checking Protocols of Multithreaded Classes - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2009

Specifying and Checking Protocols of Multithreaded Classes

Abstract

In the Design By Contract (DBC) approach, programmers specify methods with pre and postconditions (also called contracts). Earlier work added protocols to the DBC approach to describe allowed method call sequences for classes. We extend this work to deal with a variant of generic classes and multithreaded classes. We present the semantical foundations of our extension. We describe a new technique to check that method contracts are correct w.r.t. to protocols. We show how to generate programs that must be proven to show that method contracts are correct w.r.t. to protocols. Because little support currently exists to help writing method contracts, our technique helps programmers to check their contracts early in the development process.
Fichier principal
Vignette du fichier
sac09.pdf (215.96 Ko) Télécharger le fichier
Origin : Files produced by the author(s)
Loading...

Dates and versions

inria-00334527 , version 1 (27-10-2008)
inria-00334527 , version 2 (02-05-2009)
inria-00334527 , version 3 (19-05-2009)

Identifiers

Cite

Clément Hurlin. Specifying and Checking Protocols of Multithreaded Classes. ACM Symposium on Applied Computing (SAC'09), ACM, Mar 2009, Honolulu, United States. pp.587--592, ⟨10.1145/1529282.1529407⟩. ⟨inria-00334527v3⟩

Collections

INRIA INRIA2 ANR
41 View
129 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More