Welch, Peter H. and Martin, Jeremy M. R. (2000) A CSP Model for Java Multithreading. In: Nixon, Paddy and Ritchie, I., eds. 2000 Proceedings International Symposium on Software Engineering for Parallel and Distributed Systems. IEEE, pp. 114-122. ISBN 0-7695-0634-8. (doi:10.1109/PDSE.2000.847856) (The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided) (KAR id:22014)
The full text of this publication is not currently available from this repository. You may be able to access a copy if URLs are provided. | |
Official URL: http://dx.doi.org/10.1109/PDSE.2000.847856 |
Abstract
Java threads are synchronised through primitives based upon monitor concepts developed in the early 1970s. The semantics of Java's primitives have only been presented in natural language - this paper remedies this with a simple and formal CSP model. In view of the difficulties encountered in reasoning about any non-trivial interactions between Java threads, being able to perform that reasoning in a formal context (where careless errors can be highlighted by mechanical checks) should be a considerable confidence boost. Further automated model-checking tools can be used to root out dangerous states (such as deadlock and livelock), find overlooked race hazards and prove equivalence between algorithms (e.g. between optimised and un-optimised versions). A case study using the CSP model to prove the correctness of the JCSP channel implementation (which is built in terms of standard Java monitor synchronisations) is presented.
Item Type: | Book section |
---|---|
DOI/Identification number: | 10.1109/PDSE.2000.847856 |
Uncontrolled keywords: | Threads, Monitors, CSP, Concurrency |
Subjects: | Q Science > QA Mathematics (inc Computing science) > QA 76 Software, computer programming, |
Divisions: | Divisions > Division of Computing, Engineering and Mathematical Sciences > School of Computing |
Depositing User: | Mark Wheadon |
Date Deposited: | 30 Aug 2009 17:36 UTC |
Last Modified: | 05 Nov 2024 10:00 UTC |
Resource URI: | https://kar.kent.ac.uk/id/eprint/22014 (The current URI for this page, for reference purposes) |
- Export to:
- RefWorks
- EPrints3 XML
- BibTeX
- CSV
- Depositors only (login required):