Publication Details

Dynamic Validation of Contracts in Concurrent Code

FIEDOR, J.; LETKO, Z.; VOJNAR, T.; LOURENCO, J. Dynamic Validation of Contracts in Concurrent Code. Proceedings of the 15th International Conference on Computer Aided Systems Theory. Universidad de Las Palmas de Canaria: The Universidad de Las Palmas de Gran Canaria, 2015. p. 177-178. ISBN: 978-84-606-5438-4.
Czech title
Dynamická validace kontraktů v paralelním kódu
Type
conference paper
Language
English
Authors
Keywords

concurrency, contracts, dynamic analysis, atomicity violation

Abstract

With multi-core processors present in every newer computer, multi-threaded programs are becoming increasingly common. However, multi-threaded programs require proper synchronisation to restrict the thread interleavings and make the program produce correct results. Atomicity violations are a class of errors which result from an incorrect definition of the scope of an atomic region. Such errors are usually hard to localize and diagnose, which becomes even harder when using a (third-party) software library where it is unknown to the programmer how to form the atomic regions correctly when accessing the library. One way to address the problem of proper atomicity is to associate a contract with each program library. In general, a contract defines a sequence of method calls that must be executed atomically. In this paper, we devise a technique for dynamic validation of contracts at program run time.

Published
2015
Pages
177–178
Proceedings
Proceedings of the 15th International Conference on Computer Aided Systems Theory
ISBN
978-84-606-5438-4
Publisher
The Universidad de Las Palmas de Gran Canaria
Place
Universidad de Las Palmas de Canaria
BibTeX
@inproceedings{BUT119823,
  author="Jan {Fiedor} and Zdeněk {Letko} and Tomáš {Vojnar} and Joao {Lourenco}",
  title="Dynamic Validation of Contracts in Concurrent Code",
  booktitle="Proceedings of the 15th International Conference on Computer Aided Systems Theory",
  year="2015",
  pages="177--178",
  publisher="The Universidad de Las Palmas de Gran Canaria",
  address="Universidad de Las Palmas de Canaria",
  isbn="978-84-606-5438-4"
}
Back to top